File tree Expand file tree Collapse file tree 6 files changed +6
-7
lines changed Expand file tree Collapse file tree 6 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ fixtures:
44 " monitor " : " git://github.com/example42/puppet-monitor.git"
55 " firewall " : " git://github.com/example42/puppet-firewall.git"
66 " iptables " : " git://github.com/example42/puppet-iptables.git"
7- " concat " : " git ://github.com/example42 /puppet-concat.git"
7+ " concat " : " https ://github.com/puppetlabs /puppet-concat.git"
88 symlinks :
99 " nginx " : " #{source_dir}"
1010
Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ source 'https://github.com/example42/puppet-nginx'
88summary ' Puppet module for nginx'
99description ' This module installs and manages nginx. Check README.rdoc for details. Puppi is required for some common functions: you can install them without using the whole module. Monitor and firewall dependencies are needed only if the relevant features are enabled'
1010dependency ' example42/puppi' , ' >=2.0.0'
11- dependency ' ripienaar /concat' , ' >=0 .0.1 '
11+ dependency ' puppetlabs /concat' , ' >=1 .0.0 '
1212dependency ' example42/firewall' , ' >=2.0.0'
1313dependency ' example42/monitor' , ' >=2.0.0'
Original file line number Diff line number Diff line change 7777 default => file ,
7878 }
7979
80- $file_real = " ${nginx::config_dir} / ${nginx:: vdir} /${vhost} .conf"
80+ $file_real = " ${nginx::vdir} /${vhost} .conf"
8181
8282 # Use proxy template if $proxy is defined, otherwise use directory template.
8383 if ($proxy != undef ) {
Original file line number Diff line number Diff line change 3535 default => file ,
3636 }
3737
38- file { "${nginx::config_dir}/${nginx:: cdir}/${name}-upstream.conf" :
38+ file { "${nginx::cdir}/${name}-upstream.conf" :
3939 ensure => $real_file ,
4040 content => template ($template_upstream ),
4141 notify => $nginx::manage_service_autorestart ,
Original file line number Diff line number Diff line change 7979
8080 include nginx
8181 include nginx::params
82- include concat::setup
8382
8483 $bool_ssl_only = any2bool($ssl_only )
8584
9392 default => $groupowner ,
9493 }
9594
96- $file_real = " ${nginx::config_dir} / ${nginx:: vdir} /${name} .conf"
95+ $file_real = " ${nginx::vdir} /${name} .conf"
9796
9897 # Some OS specific settings:
9998 # On Debian/Ubuntu manages sites-enabled
Original file line number Diff line number Diff line change 44
55 let ( :title ) { 'nginx' }
66 let ( :node ) { 'rspec.example42.com' }
7- let ( :facts ) { { :ipaddress => '10.42.42.42' } }
7+ let ( :facts ) { { :ipaddress => '10.42.42.42' , :concat_basedir => '/var/lib/puppet/concat' } }
88
99 describe 'Test standard installation' do
1010 it { should contain_package ( 'nginx' ) . with_ensure ( 'present' ) }
You can’t perform that action at this time.
0 commit comments