nse
if it could be limited to the top level of the hierarchy. I have solved it
now in such a way that I have manually reversed the order of the aws
objects (which is unfortunately error-prone, since every time a change must
be made here too)
Best regards
Frank
Am Montag, 22. Juni 2020 15:4
s are
processed in the same order). I have to do it resource by resource from the
end of the list. Is there a simple way to reverse the processing order
(last hiera aws object first) ???
I'm hoping someone here can give me an advice ...
(btw: I'm working with puppet 6)
Best regards
On 04/04/2016 02:24 PM, Johan De Wit wrote:
I already I'm a big fan of iteration, but this needs to work on puppet
3.[7|8].x
Well, there is always "old style pseudo-iteration".
define collect_my_stuff() {
My_exp_res<<| tag == $name |>>
}
class X($collect_tags) {
collect_my_stuff { $collec
Hi,
if Puppet does not allow you to specify this preference, you could file
it as a feature request.
https://tickets.puppetlabs.com/
The Windows devs at PL are quite crafty, you might get a patch faster
than you think ;-)
Cheers,
Felix ( - throwing friends under the bus since 2013 )
On 03
Hi,
I'm not sure about directly forcing a prefetch action.
However, it seems to me that it would make sense for you to implement a
*generate* method for your group type. It should enumerate the users
that are members of the group and create a Puppet resource each. (Don't
worry about duplicate
Hi,
could you please elaborate a bit on your issue? I do not quite
understand what you are trying to do, and how you are currently failing.
Thanks,
Felix
On 02/24/2016 12:37 AM, Gowtham P R wrote:
Hi All,
I am not able to figure out how to replace "mac address value" with
first mac addr
On 02/23/2016 07:25 PM, Istvan Kassai wrote:
Hi Warron,
How do you mean Learning VM? Is there a downloadable virtual appliance?
I've installed two Ubuntu VM-s onto KVM. Installed the puppet related
packages, the agent can communicate with the master. This pair
(master-agent) is in state "read
Hi,
I believe that all you have to do is taking care of the proper resource
dependencies.
If you really want to rely on autorequire for this, you will have to
make the logic more dynamic. This is easier if you target a Puppet
version that has support for autobefore in addition to autorequire
Hi,
thanks for reading :-)
Traditionally, you had to invoke `facter -p` to receive Puppet's custom
fact from the facter CLI. When we penned the book, PL had just removed
that option in favor of `puppet facts`.
Shortly after, it became clear that the latter does not quite cover all
bases, an
Cool, thanks for sharing!
I will mark this and try to check it out "soon".
Cheers,
Felix
On 02/20/2016 12:04 AM, Corey Osman wrote:
Hi,
I created a REPL for the puppet language this week. This is something
that has been lacking for quite some time.
https://github.com/nwops/puppet-repl
In
On 02/19/2016 04:00 AM, Alex Harvey wrote:
So I think I'll call it:
firewall_multi
It will basically accept any parameter that firewall accepts and pass
it straight through to the firewall resource, unless that parameter is
the source or destination, in which case it will of course loop
thro
Hi,
a very brief bout of researching lead me to this:
https://ask.puppetlabs.com/question/6065/mac-os-x-client-ssl-error-before-caching-ca-cert/
You may be experiencing Ruby/OpenSSL version mismatches as well. Perhaps
the workaround of the OP over at ask will help you as well.
Good luck, pl
Hi,
so the provider is available as a plugin in your module? It appears that
Puppet 4 does not load it successfully.
You should probably enable debug output and look for clues as to why
that is specifically.
(I half feel that `puppet apply` should first plugin-sync the Ruby code
to $vardir
Hi Christopher,
I have no first hand experience with this transition, but Martin put a
note about SSL in the Puppet 4 chapter of the new Puppet Essentials
(yes, I'm plugging us :-)
Apparently Puppet 4 cannot use a CA that was created without the
dns_alt_names setting. This might just be your
Hi,
I don't really have an answer for you, but would it be a feasible
workaround for you to convert your variable lookup into a class
parameter that is looked up implicitly? This way, you can just exploit
rspec-puppet's own facilities for providing test input, and need not
perform the whole H
On 02/13/2016 05:34 AM, Alex Harvey wrote:
The problem is that removing sources from the array of your
multiplexer resource will just lead to some firewall resources not
being in the catalog anymore. Their respective rules will remain
orphaned, which is not what the user will exp
OK, but seriously, what's it saying?
Also, can you connect to localhost:8080 with netcat? With curl?
Cheers,
Felix
On 02/12/2016 08:56 AM, Manoj Kumar wrote:
yess I can see that too
Thanks and Regards,
Manoj Kumar
OK, next debugging step: What's the output of `ss -tlnp | grep :8080` ?
--
Y
On 02/12/2016 07:11 AM, Alex Harvey wrote:
ACCEPT tcp -- 1.1.1.1/24 0.0.0.0/0 multiport dports
80,443 /* 100 allow http and https access */
ACCEPT tcp -- 2.2.2.2/24 0.0.0.0/0 multiport dports
80,443 /* 100 allow http and https access */
The provider could
On 02/12/2016 12:35 AM, Lindsey Smith wrote:
Hi Josh,
ok, I think I found the problem, thanks to your questions. Our
codepages in Windows are CP850, But the manifests and the
master are UTF-8. Can I change the codepage only for ruby to
UTF-8? If so, how?
Hi,
On 01/29/2016 07:19 PM, Bartosz Kupidura wrote:
New resources are added to catalog, but unfortunately notify is not
working.
|
parameters ={:name =>'test',:notify =>'Service[test-service]',:value
=>'10}
res = catalog.create_resource('test_resource', parameters)
target = catalog.resource
On 01/28/2016 12:22 PM, Maruti Gangumolu wrote:
Thanks Dirk! It worked. I'm still facing with module class file. When
I'm invoking site.pp -> nodes.pp -> init.pp manifest files I'm getting
an error that apache class is not found. Could you please help me with it?
# Manage apache tomcat v8 appl
On 01/27/2016 10:11 AM, Gareth Rushgrove wrote:
I nearly always having something
like:
def self.prefetch(resources)
instances.each do|prov|
if resource = resources[prov.name]
resource.provider = prov
end
end
end
Where instances returns an array of objects created using n
On 01/27/2016 07:59 AM, Manoj Kumar wrote:
Yes, puppetdb is running :(
OK, next debugging step: What's the output of `ss -tlnp | grep :8080` ?
Thanks,
Felix
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and
On 01/21/2016 08:49 AM, Bjoern Meier wrote:
Hi Josh,
ok, I think I found the problem, thanks to your questions. Our
codepages in Windows are CP850, But the manifests and the master are
UTF-8. Can I change the codepage only for ruby to UTF-8? If so, how?
I'm not this familiar with ruby.
Than
On 02/03/2016 04:18 PM, mike r wrote:
Trying to avoid using cron but cant figure if its possible to run this
on PE Master as 'puppet apply vcsrepo.pp' every 15 min or so.
Well `puppet apply` is definitely a great way to do this, but guess
what: The best way to do *that* periodically is...cro
On 02/05/2016 02:25 AM, Kyle Flavin wrote:
In the example above, I'm unable to override $dhcp_dnsdomain by
setting the corresponding value on the host in Foreman. It always
goes with the value of $::domain.
Could you describe more specifically what you are setting where?
Adding a variable ca
On 02/09/2016 06:41 AM, Alex Harvey wrote:
Can I get some feedback at this early stage that my PR would be
accepted, assuming I can come up with a clean, working solution?
Hi,
I don't think that anyone will be able to answer this without at least
looking at what you're building, or intend to.
On 02/09/2016 09:51 PM, Joseph Karns wrote:
Hello All:
I started getting failed resources from augeas and I'm hoping someone
can help.
The errors:
Hi,
your output asks you to enable debug output to get more information.
Please run again like
puppet agent --test --debug
...or whatever y
Hi,
Puppet cannot directly use FTP servers with the file{} resource. You can
install a module for this purpose, however. This one is a good choice:
https://forge.puppetlabs.com/puppet/archive
Hope that helps,
Felix
On 02/03/2016 12:32 PM, victor.v...@ecxus.com.br wrote:
Hello,
I'm new here
Hi,
as a workaround, you could hopefully switch to running Puppet from cron.
This is usually more robust.
If you can reproduce this behavior, it would be great if you could
1. see if this holds true with the latest 3.8 or even 4.3 version and if
yes,
2. simplify the environment as much as po
Hi,
internationalization issues are likely as not caused by the underlying
Ruby runtime, rather than Puppet itself. Or so I guess. Are you running
a Ruby that came with your copy of Puppet? (Is this how Puppet works on
Windows?)
On 01/12/2016 06:39 PM, Matthieu Dubuget wrote:
I spent some
On 02/07/2016 04:56 PM, Felix Frank wrote:
Hi,
is this issue still unresolved?
Ah, ignore please - getting back in the game, getting used to
Thunderbird (or Google Groups) breaking the threading on occasion :)
--
You received this message because you are subscribed to the Google Groups
Hi,
is this issue still unresolved?
On 01/08/2016 12:41 AM, Matt Zagrabelny wrote:
On Thu, Jan 7, 2016 at 5:35 PM, Peter Kristolaitis wrote:
Apparently I was a little too quick on the send button. :(
To continue my previous email:
Does 'puppet cert list --all' show any certs at all?
Yep:
Hi,
very valid question.
Traditionally, you will get this behavior not through Hiera notation,
but by using an alternative lookup function, hiera_array.
$users = hiera_array('users_list')
Here's how it works:
http://docs.puppetlabs.com/puppet/latest/reference/function.html#hieraarray
Do n
Hi,
I'm not so sure, but looking at the release notes, there does not seem
to be a breaking change in the 3.0 release that would disrupt
compatibility with Puppet 3.x. So, yes, I believe this should Just Work.
https://docs.puppetlabs.com/facter/3.0/release_notes.html#facter-300
Cheers,
Felix
Hi,
seconded, and I'll go a step further and claim that "(Forge) Modules
First Puppet" might actually be a feasible angle for newcomers who don't
have a programming nor strong operations background to speak of.
Do let me know if you hit any snags along the road. Happy to help, if it
weren't
On 07/23/2015 12:45 AM, Stack Kororā wrote:
>
> It also appears to me that puppet dashboard is not yet ready for 4.
> Anyone have any thoughts on that?
Hi,
the dashboard was discontinued, afaik, so it may never be "ready" to
work with Puppet 4+.
If you need a good ENC, look at Foreman. If you n
On 07/22/2015 11:06 PM, Kevin Corcoran wrote:
> Hi,
>
> We added a new feature in Puppet Server 2.1.0 which allows it to be
> used with Puppet 3 agents (as well as Puppet 4 agents, of course).
>
> https://docs.puppetlabs.com/puppetserver/latest/release_notes.html#whats-new-in-puppet-server-21
>
> -
On 07/21/2015 04:14 PM, jcbollinger wrote:
>
>
> 2)
> I read in the changelog that the older clients should work with
> the backward compatibility, but is it worth even trying? Or should
> I just push out the updated puppet client wherever I can before
> adding the server into m
On 07/20/2015 06:17 PM, Fabien Delpierre wrote:
> I've tried multiple things:
> puppet:///modules/sensei/mysite.conf
Well that's nice, but earlier in your mail, you stated that mysite.conf
is in the 'myfiles' module. The URL you need is
puppet:///modules/myfiles/mysite.conf
Your reasoning is sou
Hi,
so you installed puppet_spec_helper as a gem. This should work, and I'm
not certain what the clean approach of making it work in this scenario
would be. I believe "require 'rubygems'" might help, but I half remember
some issues that can crop up with this.
Personally, I would create a Gemfile,
Hi,
something I noticed when trying a simple puppetserver setup.
I installed puppetserver from PC1 on a Debian 7 box (will try Debian 8
once PC1 has puppetserver for it) and just started the service. It fails
like this:
Exception in thread "main" java.lang.IllegalStateException: Cannot
initializ
On 07/19/2015 01:19 AM, Andrew Langhorn wrote:
>
> class apps::reservations {
>
>
> include tomcat
>
>
> tomcat::instance { ‘reservations’:
>
> ensure => present,
>
> http_port => 8080,
>
> }
>
>
> }
>
>
> However, when I run Puppet against a
Hi Michael,
I can't find more details to help me track that down, but I'm getting
convinced that the problem is that my Passenger is installed onto OS
Ruby instead of Puppet's Ruby. I could not use your apache config
verbatim, see reason below. Apache starts after some modifications (e.g.
loading
On 07/18/2015 03:20 AM, Tim Dunphy wrote:
> Hey Felix,
>
> thanks, but those aren't the important ones I'm afraid. There
> should be
> a vhost to bind port 8140. If there is not, please check carefully
> which
> process is actually listening on that port. (If it's Ruby, I have b
Hey Ramin and Michael,
thanks for your replies.
On 07/17/2015 11:53 PM, Ramin K wrote:
> I wrote a how-to on using different Rubies for your Puppet master and
> am using it to run a Ruby 2.1.6/Puppet 3.7.x master. I would attempt
> something similar in your case.
>
> http://ask.puppetlabs.com/que
On 07/17/2015 10:08 PM, Felix Frank wrote:
> Hi list,
>
> I'm currently trying to get Puppet 4 to work with nginx/passenger. I had
> that working with Puppet 3.x pretty well, but the new packaging stumps me.
>
> For one, the config.ru file is no longer being packaged, app
On 07/17/2015 10:37 PM, Tim Dunphy wrote:
>
> Hi Felix,
>
> Thanks for getting back to me! And yes, you are correct.
> Puppet/Foreman is running through apache/passenger.
>
> And here's the vhost configurations. There's two of them, one for ssl
> and one for non ssl. Non ssl is first:
>
Hi Tim,
Hi,
I'm not very familiar with the puppet/foreman stack, so this might be a
silly question, but how is the master set up? Is it running through
Apache/Passenger?
In that case, can we see the Apache vhost configuration?
Thanks,
Felix
On 07/15/2015 05:12 AM, Tim Dunphy wrote:
> Hey all,
>
> I'm
Hi,
this whole approach is hardly ideal. Try and take a look at the
file_line type in the stdlib module. It will likely do exactly what you
need.
https://github.com/puppetlabs/puppetlabs-stdlib#file_line
As soon as you install the stdlib module, the type becomes available to
your manifests.
HTH
Hi list,
I'm currently trying to get Puppet 4 to work with nginx/passenger. I had
that working with Puppet 3.x pretty well, but the new packaging stumps me.
For one, the config.ru file is no longer being packaged, apparently.
It's missing from my systems regardless of whether puppet-agent or even
On 07/07/2015 09:33 PM, Melissa Stone wrote:
>
>
> > ...
> > W: Failed to fetch http://apt.puppetlabs.com/dists/jessie/Release
> > Unable to find expected entry 'PC1/source/Sources' in Release file
> > (Wrong sources.list entry or malformed file)
>
>
> The release package for jessie
Hi,
has anyone tried the PC1 on jessie yet? I just did the following:
wget http://apt.puppetlabs.com/puppetlabs-release-pc1-jessie.deb
dpkg -i puppetlabs-release-pc1-jessie.deb
apt-get update
but I get
...
W: Failed to fetch http://apt.puppetlabs.com/dists/jessie/Release
Unable to find expecte
On 05/19/2015 01:35 PM, bjoern pohl wrote:
> ouch...
> just some minor modifications and it works :)
> augtool print *'*/files/etc/sudoers/Cmnd_Alias[alias/name = "HOMEMGMT"]'
>
> not sure what my shell is eating there... perhaps that slash...
The quotes, most likely :-)
Nice catch.
--
You rece
On 10/08/2014 04:20 AM, Dan White wrote:
>
>
>
> On Oct 7, 2014, at 4:17 PM, Felix Frank
> <mailto:felix.fr...@alumni.tu-berlin.de>> wrote:
>
>> On 10/07/2014 09:55 PM, Dan White wrote:
>>> |Local hardening guidelines say that /usr/local and /var/lo
Ah, sorry I missed that earlier: You are compiling the template
elsewhere, yes? Because the file resources uses the value of the
$ifcfg_template variable.
Please also debug the scope of the declaration of that variable. Is it a
parameter?
HTH,
Felix
On 05/17/2015 07:41 PM, Adam Winberg wrote:
>
Hi,
can you move the notify next to the file resource instead of the
variable declaration?
It seems most likely that there is some kind of scoping issue.
HTH,
Felix
On 05/16/2015 07:46 PM, Adam Winberg wrote:
> Hi,
>
> trying to populate an ifcfg template (network config) with ipv6
> config, bu
Hi,
it might be possible to get this to work. You would basically create a
profiles module per affiliate.
Putting all data into params.pp might be possible, but not ideal.
Consider implementing Hiera instead. Your hierarchy can dynamically
adapt to select appropriate data for each affiliate.
HTH
Well you will have to devise a defined type that takes the variable name
as the resource title, and the value as an argument. Data structure has
to be
my_variables:
my_project1:
var1:
value: value1
var2:
value: value2
Then the my_project1 hash is eligible for use with c
On 05/05/2015 08:25 PM, Marcos Renato wrote:
> Hi
>
> how to add this command line (alias ls='ls --color=auto') to a file
> preserving single quotes?
>
> Thanks,
>
> Marcos
Are you trying to pass this through the content property?
--
You received this message because you are subscribed to th
Hi,
there really is no way for the master to tell directly.
The best approach is to enable storing of reports (e.g. in PuppetDB) so
that you can monitor agent operation. Afflicted agents do not run and do
not report. Tools like Puppet Explorer can indicate this to you very
directly.
HTH,
Felix
On 04/25/2015 08:05 PM, Tim Dunphy wrote:
> I was just wondering if I could have some advice on how to get rid of
> this message and make sure that the puppet client remains enabled.
I would assume that the service is indeed enabled, constantly. Such
behavior is usually the *check* failing, so Pup
Hi,
I may have some of this wrong, so take this with a grain of salt, please.
On 04/20/2015 09:34 PM, Vince Skahan wrote:
> puppetlabs-release-pc1-0.9.2-1.el7.noarch
I think this package only sets up the puppetlabs repos for you. Its
versioning has literally nothing to do with *contents* of
On 04/01/2015 09:03 PM, Jason Gagui wrote:
>
> How would I make sure the four classes run in the specified order above?
Hi,
an intermittent reboot implies that the three latter classes *cannot* be
evaluated during the same agent transaction as the first one. To
implement this, add a custom fact
On 03/30/2015 02:15 PM, Romain P wrote:
> Hello Tim,
>
> Do you find a solution ?
> I have the same problem.
>
> Cheers
> Romain
Hi,
looks like Tim is using the Foreman. Are you?
In Tim's case, I suspect that this is a Foreman issue, or at least
related to its integration with Puppet.
HTH,
Feli
On 03/31/2015 07:38 PM, Huaqing Zheng wrote:
>
> appears to have fixed my facter problems but I would recommend using
> lsb facts instead in your forge modules going forward.
*sigh* such a can of worms.
FWIW, last time I looked for those in Debian, they were available only
if a certain package (w
On 03/13/2015 03:40 PM, Fraser Goffin wrote:
> I am attempting to use the puppetlabs/concat module on Windows, but
> having some problems.
I just found out that Richard has made an alternative that explicitly
does support Windows:
https://forge.puppetlabs.com/ispavailability/file_concat
--
You
On 03/26/2015 07:39 PM, Peter Berghold wrote:
>
> I guess you can't export such a thing?
You can. But your define is not called 'remotemaster'. Perhaps that is
the cause of the error.
Cheers,
Felix
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" grou
On 03/26/2015 05:29 PM, Peter Berghold wrote:
>
> I watched the puppetdb log and it would seem something is being written
> to puppetdb and puppetdb is the backend for storeconfigs.
Have you tried actually querying the PuppetDB contents?
https://docs.puppetlabs.com/puppetdb/latest/api/query/v2/
Hi,
it sure is disappointing that the most recent agent version will not
select the correct default provider on your FC19. Is systemd default on
this platform? Or have you configured this box this way explicitly.
If you want your manifest to behave like this on your FC19 boxen only,
you can do th
On 03/13/2015 03:40 PM, Fraser Goffin wrote:
> If I look at this file I can see that it indeed does not have read (or
> any other) permissions set.
>
> I tried adding values user, group and mode but to no avail.
>
> Can anyone suggest what I need to do here ?
Shot in the dark: Is the agent running
Hi,
what you're doing is more or less identical to "composite namevars". The
codebase has support for *actual* composites, but last I heard, it's a
very fragile construct. I cannot advise to try and use it. Your own
approach may well be more sane.
On 03/24/2015 02:40 PM, Nick Howes wrote:
> Where
On 03/09/2015 05:59 PM, Sergiu Cornea wrote:
> Hello guys,
>
> I am trying to create a device files and I am not really sure if i'm
> applying the right check.
>
>exec { "creates_random_file_for_${name}":
> command => "mknod -m 0444 ${dev_random} c 1 9",
> path=> '/usr/local/b
On 03/06/2015 06:50 PM, lupindet...@gmail.com wrote:
> hi,
>
> thank you for the reply, however the end state really is to have both machine
> in sync and working as pair of primary/standby Database log shipping.
>
> The flow therefore are:
> 1) create backup in serverA
> 2) copy to serverB
> 3
On 03/06/2015 04:12 PM, Nick Howes wrote:
> I'm aware there are no functions in the example, which would be
> implemented either as a `define` in Puppet or as a custom type in Ruby -
> I was just expressing that I'm open to any solution, which may involve
> some helper function under the hood.
Tha
On 03/05/2015 08:33 AM, hoize wrote:
>
> I hope you can help me. At PuppetLabs-Docs I only found the
> configuration for Puppet Enterprise for my issue.
Hi,
apart from some path names, it should be applicable to open source puppet.
Can you link the specific howto you are following, and indicate
Hi,
on the agent, try
puppet agent --configprint server
It likely indicates the FQDN of the old master. Change your puppet.conf
accordingly, so that the new FQDN is used instead.
[main]
server=gso0puppet01...
HTH,
Felix
On 03/04/2015 05:35 PM, Ed Deloye wrote:
> I am building a new puppet mas
ckages get installed
> which result in a failed run for the first time. Second run is ok
> because the repositories are in place from the first run.
>
> Under normal circumstances I would use require to include class yum and
> yum::config::icinga but with parameters it would look
On 03/05/2015 11:55 PM, Dan White wrote:
> --external-dir=/var/lib/puppet/facts.d/
Ah. Good catch!
> It is not a bug. It is an Undocumented Feature :D
Hah! Well I'm not convinced. UX bugs are still issues.
Cheers,
Felix
--
You received this message because you are subscribed to the Google G
On 02/09/2015 05:54 AM, David LeVene wrote:
>
> Any suggestions as to where to look next?
Hi, in case you're still struggling with this - you can try and locate
the catalog (in $vardir/client_yaml) and examine the package resources
for starters.
Good luck,
Felix
--
You received this message bec
Hi Dan,
interesting, I think I can reproduce, with facter 2.4.1. Might be a bug.
I observe `puppet agent` opening my $vardir/facts.d files (through
strace), but not `facter -p`.
Cheers,
Felix
On 02/09/2015 05:41 PM, Dan White wrote:
> Puppet 3.7.3
> Facter 2.3.0
> running on RHEL 6
>
> Referenc
On 03/04/2015 02:10 PM, Thomas Bendler wrote:
> /contain icinga::package/
> /contain icinga::config/
> /contain icinga::service/
> /
> /
> /Class['icinga::package'] ->/
> /Class['icinga::config'] ->/
> /Class['icinga::service']/
>
> Unfortunately the ordering isn't correct, the module try to instal
Hi,
there might be ways to achieve this, but also plenty caveats.
You mention all of functions, resources and providers, but I see no
indication that all of them relate to your question. Are you aware of
the differences between the three?
Have you implemented anything already, or are you still i
On 03/02/2015 05:18 PM, Peter Berghold wrote:
>
> I *believe* this is where I'm getting an error thrown such that:
> Error: /Stage[main]/Multibind::Mob_oam_svc/Bindconfigure[MOB_OAM_SVC]:
> Could not evaluate: wrong number of arguments (1 for 0)
Oh you do? :-)
Please run with --trace to confirm
Hi,
please note that this is a very unusual structure. Properties that are
not assigned a desired value will just be left as is by the agent. Upon
creating a new resource on the managed system, the *ensure* property can
impose a default value.
Are you sure that you want to force the user to suppl
Hi,
running puppet with --debug will show you the check command that is run
to determine whether the package needs updating. It yields a zero exit
code apparently, so the 'unless' dependency is not hit.
https://github.com/puppetlabs/puppetlabs-apt/blob/0e3220711ba9ce05715c39c22771e34b81b41382/man
Can you make your code available somewhere, so that we can reproduce?
Generally, I'd like to second John's general advice: Do restart your
Puppet processes to make sure that changes to your Ruby code take effect.
Best,
Felix
On 02/27/2015 09:22 PM, Peter Berghold wrote:
> I think I discovered so
On 02/27/2015 07:51 AM, Erling Ringen Elvsrud wrote:
>
> Do you think it is possible to handle this with Puppet?
Yes, but not relying on exec as heavily as you imply.
Your first step should be a custom fact that reports the state of the
certificate.
The manifest for the node examines the fact v
On 02/27/2015 05:02 PM, Peter Berghold wrote:
> can I guess that the first def mod is what is referred to as a "getter"
> and second is a "setter?"Can I stretch that inference to say that if
> the value being passed to the setter is the same as what the getter is
> seeing it won't be set again?
On 02/06/2015 05:15 PM, Josh Bronson wrote:
> I just filed https://tickets.puppetlabs.com/browse/ENTERPRISE-515 for
> this. The workaround is to disable CRL checking:
>
> 1. Add "certificate_revocation = false" to the [agent] section of the
> puppet.conf file as described at
> https://docs.puppetla
On 01/20/2015 03:45 PM, Johan De Wit wrote:
> http://puppetlabs.com/download-learning-vm
>
> Enjoy the journey
Beat me to the punch.
See you soon, Johan!
Best,
Felix
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this gr
On 01/12/2015 03:55 PM, Felix Frank wrote:
> I think the issue is that facter/util is not supposed to be pluggable
> this way. Custom facts live in lib/facter/*.rb and that's the extent of
> it. I may be mistaken, but it seems consistent to me that this will not
> work.
Hi,
On 01/14/2015 03:47 PM, Jason Wever wrote:
> Hi All,
>
> I having a problem in where I'm defining a File Type and setting the
> requires parameter to use a variable name (e.g. requires => $foo).
> However, when I do this, the Puppet run doesn't act like it's
> translating the variable into what it
On 01/14/2015 09:55 AM, KEIGNAERT Mathieu wrote:
> Dear all,
>
> I am very new to puppet, I have been playing with puppet a long time
> ago, I haven't done anything recently with puppet but I try to follow it.
> One of my main concern with puppet and what I try to achieve is to
> have puppet runnin
ore generic way to seperate data from code.
> but anyway - thanks
>
>
> 2015-01-12 19:18 GMT+01:00 Felix Frank <mailto:felix.fr...@alumni.tu-berlin.de>>:
>
> On 01/12/2015 05:03 PM, Michael Wörz wrote:
> > Solved - tags do the job
>
On 01/12/2015 05:03 PM, Michael Wörz wrote:
> Solved - tags do the job
>
> define mountentry($device,$mountpoint,$order) {
> @notify{"$name":
> tag => ["mount$order"],
> }
> }
>
> class sysctl::mounts() {
> $m=$yaml['mounts']
> create_resources(mountentry,$m)
> Notify <| tag == 'mou
On 01/12/2015 01:22 PM, Davide Ferrari wrote:
> Hello!
>
> My code is basically this commit
>
> https://github.com/vide/facter/commit/c4060af48074c372a63409d81b836b79ff5d0427
>
> This patch works smoothly if I overwrite the files in
> /usr/lib/ruby/vendor_ruby/
All right, awesome. Thanks for t
On 01/10/2015 06:51 PM, Brian Lock wrote:
> If the puppet agent isn't running on a server and you issue the
> command sudo /etc/init.d/puppet stop, and you have also disables
> execute access on the file /etc/init.d/puppet by chmod -x , why does
> puppet run from the master at its pre-prescribed t
On 01/09/2015 03:48 PM, Davide Ferrari wrote:
> Hi
>
> I'm trying to override a fact from facter 2.3, called "partitions"
> with a custom version of this fact, via pluginsync.
>
> The problem is that the base file in
> /var/lib/puppet/lib/facter/partitions.rb, just like it's facter
> brother in /us
Hi,
On 01/08/2015 11:02 PM, Christopher Wood wrote:
> root@cwl:~# cat /etc/facter/facts.d/truefalsetwo.txt
> truefalsetwo=true
I think it's fine for this one to return a string. After all, the output
of a script is just text. Converting to boolean would be trivial, but
less so for arrays, hashes
1 - 100 of 1479 matches
Mail list logo