Hi Francois,
On 30 Nov 2015, at 05:09, Francois Lafont
wrote:
> Hi,
>
> I'm using Puppet 4 and I'm wondering if this (see below) is possible.
>
> I have 2 Puppet modules, moda and modb. We can imagine that theses modules
> have just one class init.pp. The class ::moda has a parameter "param"
Very simple, yet helpful: https://github.com/alcCapone/doll
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegroups.com.
To view th
On Wednesday, November 25, 2015 at 4:45:57 PM UTC-6, John Gateley wrote:
>
> Puppet 4.3.0
> Server Debian 7
> Client Debian 8
>
> I have verified the server is running and listening on port 8140
> The client has the puppet service started, but there are no certs to
> verify on the server.
> This
On Wednesday, November 25, 2015 at 9:16:16 AM UTC-6, Aqueos Aqueos wrote:
>
> in
> /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/service/debian.rb
> the lines:
>
> if ((os == 'debian' && majversion >= 8) || (os == 'ubuntu' &&
> majversion >= 15))
> # SysVInit scripts wi
Hi,
I'm trying to write rspec tests for facts with multiple resolutions.
I know I can stub facts, and thus test all resolutions by targeting them
using the stubbed facts.
But how do I test a given resolution if the previous fails?
Or how do I test a given resolution when it was given an explicit
On Thursday, November 26, 2015 at 9:34:37 PM UTC-6, Haani Niyaz wrote:
> As you can see in the output above server_packges will be executed again
> after the execution of some_class:
> Notice: Class[some_class::Service]: Would have triggered 'refresh' from 2
> events
> Notice: /Stage[main]/S
Ok... I switched tactics somewhat and have more or less what I wanted:
=== start ERB file ===
<% @interfaces.split(',').each do |int| if
has_variable?("ipaddress_#{int}") -%>
<%= scope["ipaddress_#{int}"] -%> <%=
Resolv.getname(scope["ipaddress_#{int}"]) -%>
<% end -%>
<% end -%>
=== end ERB fil
On Sunday, November 29, 2015 at 10:09:20 PM UTC-6, François Lafont wrote:
>
> Hi,
>
> I'm using Puppet 4 and I'm wondering if this (see below) is possible.
>
> I have 2 Puppet modules, moda and modb. We can imagine that theses modules
> have just one class init.pp.
"init.pp" is the name of
Hi,
We moved from 3.1 to 3.8 and we faced some warnings regarding SELinux all
of the sudden:
Nov 30 14:48:22 nodename puppet-agent[9865]: Failed to set SELinux context
system_u:object_r:usr_t:s0 on /usr/sap/home/username
Nov 30 14:48:22 nodename puppet-agent[9865]:
(/File[/usr/sap/home/usernam
I understand your dissatisfaction, but I feel obligated to observe
that Puppet isn't forcing you to do anything. *Because of
peculiarities in Debian*, Puppet cannot properly manage services on
some versions of that distro via straight sysV initscripts. This in
no way forces you to instal
On Monday, November 30, 2015 at 11:16:17 AM UTC-6, Aqueos Aqueos wrote:
>
>
>
>
>
> I understand your dissatisfaction, but I feel obligated to observe that
> Puppet isn't forcing you to do anything. *Because of peculiarities in
> Debian*, Puppet cannot properly manage services on some versions
Hey Ghislain!
> Right now until this particular push of new code all was working as
> intended for us, but this code was added in the service sysV init provider
> a check of systemD in the sysvinit part. So you can be an advocate of
> systemd and there is no problem on that but sytemd can
Hey John!
Thanks for the responses and analysis of the situation! You're spot on in
several areas which prompted this change in the first place. Comments
inline:
> Please allow me to clarify that I have no particular objection to nor
> animosity for Debian 8 "Jessie", or any earlier version
Ah...nevermind, figured this out!
Sorting (well, reverse sorting so lo0 gets put first):
<% @interfaces.split(',').sort!{|x, y| y <=> x}.each do |int| if
has_variable?("ipaddress_#{int}") -%>
Splitting:
<% fqdn = Resolv.getname(scope["ipaddress_#{int}"]) -%>
<% name = (fqdn.split('.')) -%>
<%=
On Wed, Nov 4, 2015 at 2:11 PM, Aaron wrote:
> blech - nevermind. still throws horrible errors when the service has not
> been installed yet and puppet runs (such as on a new VM).
>
> Is there any way to have it see that there is an error during the
> uninstall and then run an ELSE and move onto
On Tue, Nov 10, 2015 at 7:22 AM, jmp242 wrote:
> Ok, well, it was on one test computer. On others it's giving the same
> error, but I think the parameter issue is actually specific to the existing
> file / permissions. I moved the file and re-ran puppet, which as part of
> the manifest re-created
Puppet Agent 1.3.1 is now available. This is a bugfix release of the
all-in-one agent, which bundles up Ruby, Puppet, Facter, and other components
into a single package.
This release includes the following updates:
* Facter 3.1.3 fixes a regression where the `puppetversion` fact was not
repo
I have been using variable interpolation within my Hiera data files for
sometime.
For instance I have Citrix NetScaler LB rules defined as such:
apache:
name: "%{::cluster}-apache"
ensure: 'present'
service_type: 'HTTP'
state: true
lb_method: 'LEASTCONNECTION'
And b
18 matches
Mail list logo