Ryan Lane has submitted this change and it was merged.
Change subject: Salt: Fix parameter used to add a key via grain-ensure
......................................................................
Salt: Fix parameter used to add a key via grain-ensure
The invocation used 'set'; should be 'add'.
Change-Id: I0682db480fc0a32457ecd29cf881617d3434a9fc
---
M modules/salt/manifests/grain.pp
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Ryan Lane: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/salt/manifests/grain.pp b/modules/salt/manifests/grain.pp
index a92a861..2577174 100644
--- a/modules/salt/manifests/grain.pp
+++ b/modules/salt/manifests/grain.pp
@@ -32,7 +32,7 @@
require => File['/usr/local/sbin/grain-ensure'],
}
} else {
- exec { "/usr/local/sbin/grain-ensure set ${grain} ${value}":
+ exec { "/usr/local/sbin/grain-ensure add ${grain} ${value}":
unless => "/usr/local/sbin/grain-ensure contains ${grain} ${value}",
require => File['/usr/local/sbin/grain-ensure'],
}
--
To view, visit https://gerrit.wikimedia.org/r/74097
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0682db480fc0a32457ecd29cf881617d3434a9fc
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Ryan Lane <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits