Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for AIX machines with IPv6 disabled. #142

Merged
merged 2 commits into from
Mar 21, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
52 changes: 46 additions & 6 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@
$keys_trusted = []
$package_ensure = 'present'
$preferred_servers = []
$restrict = [
'default kod nomodify notrap nopeer noquery',
'-6 default kod nomodify notrap nopeer noquery',
'127.0.0.1',
'-6 ::1',
]
$service_enable = true
$service_ensure = 'running'
$service_manage = true
Expand All @@ -32,6 +26,10 @@
$keysfile = '/etc/ntp.keys'
$driftfile = '/etc/ntp.drift'
$package_name = [ 'bos.net.tcp.client' ]
$restrict = [
'default nomodify notrap nopeer noquery',
'127.0.0.1',
]
$service_name = 'xntpd'
$servers = [
'0.debian.pool.ntp.org iburst',
Expand All @@ -45,6 +43,12 @@
$keys_file = '/etc/ntp/keys'
$driftfile = '/var/lib/ntp/drift'
$package_name = [ 'ntp' ]
$restrict = [
'default kod nomodify notrap nopeer noquery',
'-6 default kod nomodify notrap nopeer noquery',
'127.0.0.1',
'-6 ::1',
]
$service_name = 'ntp'
$servers = [
'0.debian.pool.ntp.org iburst',
Expand All @@ -58,6 +62,12 @@
$driftfile = '/var/lib/ntp/drift'
$keys_file = '/etc/ntp/keys'
$package_name = [ 'ntp' ]
$restrict = [
'default kod nomodify notrap nopeer noquery',
'-6 default kod nomodify notrap nopeer noquery',
'127.0.0.1',
'-6 ::1',
]
$service_name = 'ntpd'
$servers = [
'0.centos.pool.ntp.org',
Expand All @@ -70,6 +80,12 @@
$driftfile = '/var/lib/ntp/drift/ntp.drift'
$keys_file = '/etc/ntp/keys'
$package_name = [ 'ntp' ]
$restrict = [
'default kod nomodify notrap nopeer noquery',
'-6 default kod nomodify notrap nopeer noquery',
'127.0.0.1',
'-6 ::1',
]
$service_name = 'ntp'
$servers = [
'0.opensuse.pool.ntp.org',
Expand All @@ -83,6 +99,12 @@
$driftfile = '/var/db/ntpd.drift'
$keys_file = '/etc/ntp/keys'
$package_name = ['net/ntp']
$restrict = [
'default kod nomodify notrap nopeer noquery',
'-6 default kod nomodify notrap nopeer noquery',
'127.0.0.1',
'-6 ::1',
]
$service_name = 'ntpd'
$servers = [
'0.freebsd.pool.ntp.org iburst maxpoll 9',
Expand All @@ -96,6 +118,12 @@
$driftfile = '/var/lib/ntp/drift'
$keys_file = '/etc/ntp/keys'
$package_name = [ 'ntp' ]
$restrict = [
'default kod nomodify notrap nopeer noquery',
'-6 default kod nomodify notrap nopeer noquery',
'127.0.0.1',
'-6 ::1',
]
$service_name = 'ntpd'
$servers = [
'0.pool.ntp.org',
Expand All @@ -109,6 +137,12 @@
$driftfile = '/var/lib/ntp/drift'
$keys_file = '/etc/ntp/keys'
$package_name = ['net-misc/ntp']
$restrict = [
'default kod nomodify notrap nopeer noquery',
'-6 default kod nomodify notrap nopeer noquery',
'127.0.0.1',
'-6 ::1',
]
$service_name = 'ntpd'
$servers = [
'0.gentoo.pool.ntp.org',
Expand All @@ -126,6 +160,12 @@
$driftfile = '/var/lib/ntp/drift'
$keys_file = '/etc/ntp/keys'
$package_name = ['net-misc/ntp']
$restrict = [
'default kod nomodify notrap nopeer noquery',
'-6 default kod nomodify notrap nopeer noquery',
'127.0.0.1',
'-6 ::1',
]
$service_name = 'ntpd'
$servers = [
'0.gentoo.pool.ntp.org',
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# Install module and dependencies
puppet_module_install(:source => proj_root, :module_name => 'ntp')
hosts.each do |host|
shell("/bin/touch #{default['distmoduledir']}/hiera.yaml")
shell("/bin/touch #{default['puppetpath']}/hiera.yaml")
shell('puppet module install puppetlabs-stdlib', :acceptable_exit_codes => [0,1])
end
end
Expand Down