Skip to content

Commit

Permalink
Merge pull request #68 from apenney/rc-fixes
Browse files Browse the repository at this point in the history
Formatting fixes for the rc
  • Loading branch information
apenney committed Jul 10, 2013
2 parents f904534 + 8b4cea6 commit 1b357eb
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 32 deletions.
22 changes: 0 additions & 22 deletions files/README.markdown

This file was deleted.

2 changes: 1 addition & 1 deletion manifests/config.pp
@@ -1,4 +1,4 @@
class ntp::config(
class ntp::config (
$config = $ntp::config,
$config_template = $ntp::config_template,
$panic = $ntp::panic,
Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
@@ -1,4 +1,4 @@
class ntp(
class ntp (
$autoupdate = $ntp::params::autoupdate,
$config = $ntp::params::config,
$config_template = $ntp::params::config_template,
Expand Down
2 changes: 1 addition & 1 deletion manifests/install.pp
@@ -1,4 +1,4 @@
class ntp::install(
class ntp::install (
$package_ensure = $ntp::package_ensure,
$package_name = $ntp::package_name,
) inherits ntp {
Expand Down
2 changes: 1 addition & 1 deletion templates/ntp.conf.debian.erb
Expand Up @@ -25,7 +25,7 @@ filegen clockstats file clockstats type day enable
# pick a different set every time it starts up. Please consider joining the
# pool: <http://www.pool.ntp.org/join.html>

# Managed by puppet class { "ntp": servers => [ ... ] }
# Managed by puppet class { 'ntp': servers => [ ... ] }
<% [@servers].flatten.each do |server| -%>
server <%= server %>
<% end -%>
Expand Down
6 changes: 3 additions & 3 deletions templates/ntp.conf.el.erb
Expand Up @@ -23,7 +23,7 @@ restrict -6 ::1
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).

# Managed by puppet class { "ntp": servers => [ ... ] }
# Managed by puppet class { 'ntp': servers => [ ... ] }
<% [@servers].flatten.each do |server| -%>
server <%= server %>
<% end -%>
Expand All @@ -35,13 +35,13 @@ server <%= server %>
#manycastserver 239.255.254.254 # manycast server
#manycastclient 239.255.254.254 key 42 # manycast client

<% if @is_virtual == "false" -%>
<% if scope.lookupvar('::is_virtual') == "false" -%>
# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available.
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10

<% end -%>

# Drift file. Put this in a directory which the daemon can write to.
# No symbolic links allowed, either, since the daemon updates the file
# by creating a temporary in the same directory and then rename()'ing
Expand Down
2 changes: 1 addition & 1 deletion templates/ntp.conf.freebsd.erb
Expand Up @@ -17,7 +17,7 @@
# The option `iburst' is used for faster initial synchronisation.
# The option `maxpoll 9' is used to prevent PLL/FLL flipping on FreeBSD.
#
# Managed by puppet class { "ntp": servers => [ ... ] }
# Managed by puppet class { 'ntp': servers => [ ... ] }
<% if @panic == false -%>
# Keep ntpd from panicking in the event of a large clock skew
# when a VM guest is suspended and resumed.
Expand Down
2 changes: 1 addition & 1 deletion templates/ntp.conf.gentoo.erb
Expand Up @@ -12,7 +12,7 @@
tinker panic 0
<% end -%>

# Managed by puppet class { "ntp": servers => [ ... ] }
# Managed by puppet class { 'ntp': servers => [ ... ] }
<% [@servers].flatten.each do |server| -%>
server <%= server %>
<% end -%>
Expand Down
2 changes: 1 addition & 1 deletion templates/ntp.conf.suse.erb
Expand Up @@ -38,7 +38,7 @@ server 127.127.1.0 # local clock (LCL)
fudge 127.127.1.0 stratum 10 # LCL is unsynchronized
<% end -%>

# Managed by puppet class { "ntp": servers => [ ... ] }
# Managed by puppet class { 'ntp': servers => [ ... ] }
<% [@servers].flatten.each do |server| -%>
server <%= server %>
<% end -%>
Expand Down

0 comments on commit 1b357eb

Please sign in to comment.