Skip to content

Commit 778dc06

Browse files
author
Gavin Rogers
committed
two small fixes
1 parent d156355 commit 778dc06

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

manifests/unicorn.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
ensure => 'latest',
3535
}
3636
}
37-
package {'gcc':
37+
package { [ 'policycoreutils-python', 'gcc' ]:
3838
ensure => 'latest',
3939
} ->
4040
package {['unicorn', 'rack']:
@@ -90,7 +90,7 @@
9090
refreshonly => true,
9191
}
9292
file {'/usr/share/selinux/targeted/nginx.pp':
93-
source => '/tmp/nginx.pp',
93+
source => 'file:///tmp/nginx.pp',
9494
require => Exec['building_selinux_policy_package_from_module'],
9595
}
9696
selmodule {'nginx':

templates/puppetmaster

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# define the new unicorn backend
22
upstream puppetmaster_unicorn {
33
server unix:/var/run/puppet/puppetmaster_unicorn.sock fail_timeout=5;
4-
<% backup_upstream.each do |server| -%>
4+
<% @backup_upstream.each do |server| -%>
55
server <%= server %> backup;
66
<% end -%>
77
}

0 commit comments

Comments
 (0)