Dzahn has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/349267 )

Change subject: ircecho: add missing "ensure => present" on config file
......................................................................


ircecho: add missing "ensure => present" on config file

The config file /etc/default/ircecho was missing an "ensure".

I noticed after making changes to its config in
I84f40a4bd6d2145f576511dc1 they did not get applied and when
i moved /etc/default/ircecho to /tmp and ran puppet it did
not get recreated either.

Bug: T163476
Change-Id: I5c50dab7a405313b159fd5fb11571ad8e79ed3e5
---
M modules/ircecho/manifests/init.pp
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



diff --git a/modules/ircecho/manifests/init.pp 
b/modules/ircecho/manifests/init.pp
index 9b4b191..0121125 100644
--- a/modules/ircecho/manifests/init.pp
+++ b/modules/ircecho/manifests/init.pp
@@ -17,7 +17,7 @@
     require_package(['python-pyinotify', 'python-irclib'])
 
     file { '/usr/local/bin/ircecho':
-        ensure => present,
+        ensure => 'present',
         source => 'puppet:///modules/ircecho/ircecho',
         owner  => 'root',
         group  => 'root',
@@ -25,6 +25,7 @@
     }
 
     file { '/etc/default/ircecho':
+        ensure  => 'present',
         content => template('ircecho/default.erb'),
         owner   => 'root',
         mode    => '0755',

-- 
To view, visit https://gerrit.wikimedia.org/r/349267
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5c50dab7a405313b159fd5fb11571ad8e79ed3e5
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to