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

Remove path to template file from keys.erb #344

Merged
merged 1 commit into from
Oct 5, 2016

Conversation

tdevelioglu
Copy link

Letting the template file path get set is disruptive to environment
based test workflows, causing unnecessary events each time one
switches environment, e.g.:

Notice: /Stage[main]/Ntp::Config/File[/etc/ntp/keys]/content:
--- /etc/ntp/keys       2016-09-23 14:36:07.000000000 +0200
+++ /tmp/puppet-file20160923-14521-1j0zq8t      2016-09-23

20:16:06.000000000 +0200
@@ -1,4 +1,4 @@
# THIS FILE IS MANAGED BY PUPPET
-#
/etc/puppet/environments/production/puppet/forge/ntp/templates/keys.erb
+#
/etc/puppet/environments/foo/puppet/forge/ntp/templates/keys.erb
#

Letting the template file path get set is disruptive to environment
based test workflows, causing unnecessary events each time one
switches environment, e.g.:

    Notice: /Stage[main]/Ntp::Config/File[/etc/ntp/keys]/content:
    --- /etc/ntp/keys       2016-09-23 14:36:07.000000000 +0200
    +++ /tmp/puppet-file20160923-14521-1j0zq8t      2016-09-23
20:16:06.000000000 +0200
    @@ -1,4 +1,4 @@
     # THIS FILE IS MANAGED BY PUPPET
    -#
/etc/puppet/environments/production/puppet/forge/ntp/templates/keys.erb
    +#
/etc/puppet/environments/foo/puppet/forge/ntp/templates/keys.erb
     #
@DavidS DavidS merged commit 5f83666 into puppetlabs:master Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants