On Tue, Jul 24, 2012 at 9:49 AM, David Schmitt wrote:
> On 24.07.2012 00:43, Ryan Bowlby wrote:
>
>> Can anyone comment on their experiences with librarian-puppet or using
>> git superproject with per puppet module repositories? We are in the
>> midst of determining which route is optimal for our
@Calvin:
Thanks for the inputs. I had infact fixed it a few days ago. I created a
new group and inherited the parent class into it. After that I defined a
parameter with the same name as was in the "All Nodes" section and over rid
the value in this new group. Now all the nodes added to the gr
@John,
Thanks a lot for the detailed reply. I do concur with the idea that they
cannot be mutually exclusive. But for some reason the client had that
requirement. Fortunately I was able to convince them to let go of that, and
now I just went ahead and pass the service name as an external param
On 07/23/2012 07:16 PM, Jist Anidiot wrote:
> and the node file
>
> $user = [ "A", "B", "C", "D" ]
>
> mything { $user:
> version => "1.5"
>
> }
>
> However this still means I'd have to do one for each version (and figure
> out how to avoid a Duplicate definition problem.
>
> Is there an
Hello,
On some machines being managed by Puppet I would like to perform targetted
audit runs with "puppet -t --noop --tags audit"
For better or for worse I am trying to do this with a separate module
"audit" rather than add the audit => to the resources and use inheritence.
i.e.
class audit
>
> So I can do it using membership => inclusive (instead of
> key_membership)
>
You're right, I took a too quick look at
http://docs.puppetlabs.com/references/latest/type.html
Cheers,
Paul
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
On Monday, July 23, 2012 1:10:10 PM UTC-5, Trevor Vaughan wrote:
>
> So, I'm sure this has been covered somewhere, but I can't seem to find it.
>
> Is there no 'purge' ability on the 'sshkey' type? It would be nice to
> be able to get rid of entries for hosts that are no longer present
> witho
Thanks for the reply. More info inline.
On Tuesday, July 24, 2012 5:02:19 AM UTC-4, Felix.Frank wrote:
>
>
> If I'm reading this right, you're trying to join two arrays in a
> distinct fashion. I'm afraid puppet cannot easily do that.
>
> Your best bet is the create_resources function, if your
On Monday, July 23, 2012 12:16:21 PM UTC-5, Jist Anidiot wrote:
>
> I'm trying to make a defined type with two parameters and pass an array
> for each parameter.
>
In that, you succeeded.
>
> My first try was something like this:
>
> init.pp
>
> define mything ($user, $version) {
> exec
I attempted to set it and it wasn't very happy but your assessment is
what I had thought as well.
Thanks,
Trevor
On Tue, Jul 24, 2012 at 8:46 AM, jcbollinger wrote:
>
>
> On Monday, July 23, 2012 1:10:10 PM UTC-5, Trevor Vaughan wrote:
>>
>> So, I'm sure this has been covered somewhere, but I c
How exposed are facts?
Are there any means to collect resources from a client that I can make use
of?
On Sunday, July 22, 2012 3:05:28 AM UTC-5, yersinia.spiros wrote:
>
> Are you sure that exposing a password hash by a fact is a sane thing
> to do from a security point of view ? Too simple t
On Tuesday, July 24, 2012 4:45:11 AM UTC-5, olli...@googlemail.com wrote:
>
> Hello,
>
> On some machines being managed by Puppet I would like to perform targetted
> audit runs with "puppet -t --noop --tags audit"
>
> For better or for worse I am trying to do this with a separate module
> "
>
> Your general idea sounds feasible. I see two specific problems in the
> example code you posted, however:
>
>1. Is the title of the File resource you want to override really
>'resolv.conf'? I mean, it could be if you specified the full path via the
>'path' parameter in the ori
On Mon, Jul 23, 2012 at 11:10 AM, Trevor Vaughan wrote:
> So, I'm sure this has been covered somewhere, but I can't seem to find it.
>
> Is there no 'purge' ability on the 'sshkey' type? It would be nice to
> be able to get rid of entries for hosts that are no longer present
> without actually hav
On Tue, 24 Jul 2012 09:39:30 -0400
Trevor Vaughan wrote:
> I attempted to set it and it wasn't very happy but your assessment is
> what I had thought as well.
Yup. (Still) Unsupported, unfortunately...
See http://projects.puppetlabs.com/issues/1581
Matthias
--
Matthias Saou
Quick erb question:
Can you use a if val in an each do iteration? And if so... how :/ If
someone knows and is kind enough to shed some light.
Trying to figure what will work and the following do NOT work.
<% hosts.each do |val| %><% if val != "<%= hostname %>" %> host (<%= val
%>);<% end %>
Hi,
I'm trying to get to grips with hiera and yaml as the backend.
given a yaml file like this:
---
user:
dave:
home: "/home/dave"
shell: "/bin/bash"
steve:
home: "/home/steve"
shell: "/bin/zsh"
How would I do a hiera lookup for steve's shell?
on the cli, I cannot do "hi
Hello all,
I do not know whether I have hit a bug or it is just a misconception about
puppet configuration but I have found a strange inconsistency setting
custom providers and types. Theoretically, custom providers and types can
be located at a folder named /lib/puppet/providers or
/lib/puppe
On Tuesday, July 24, 2012 9:31:39 AM UTC-4, jcbollinger wrote:
>
> I think it important to not only come up with a means to your end, but
> also to understand what you've done once you get there. What you need to
> know in this case is that Puppet provides a shortcut for declaring multiple
>
Thanks a lot to both of you. Effectively, escaping the JSP opening tag with
<%% made the trick.
The closing tag needs not to be closed. It is not interpreted in anyway.
@John : Thanks for the complementaries informations to do it with ERB.
On Monday, July 23, 2012 2:57:13 PM UTC+2, jcbollinger
On Mon, Jul 23, 2012 at 08:25:49PM -0400, Brian Gupta wrote:
> Your ENC script can pretty much do whatever you want it to do. I'm not
> exactly following what you want to do with the facts, but you could
> upload them to your ENC like so:
> https://github.com/theforeman/puppet-foreman/blob/master/t
On Tuesday, July 24, 2012 10:33:11 AM UTC-5, David Campos wrote:
>
> Hello all,
>
> I do not know whether I have hit a bug or it is just a misconception about
> puppet configuration but I have found a strange inconsistency setting
> custom providers and types. Theoretically, custom providers and
I've got a few puppet servers running behind Nginx, load balanced with an ELB.
I occasionally see this error in bursts..
>
> Tue Jul 24 09:41:23 + 2012 Puppet (err): Could not retrieve catalog from
> remote server: end of file reached
> Tue Jul 24 09:41:24 + 2012 Puppet (err): Could not
On Tuesday, July 17, 2012 2:29:55 PM UTC-5, ZJE wrote:
>
>
> On Tuesday, July 17, 2012 2:02:10 PM UTC-5, ZJE wrote:
>>
>>
>> On Tuesday, July 17, 2012 12:29:52 PM UTC-5, Jeff McCune wrote:
>>>
>>> On Tue, Jul 17, 2012 at 9:49 AM, Nan Liu <> wrote:
>>>
On Tue, Jul 17, 2012 at 8:34 AM, ZJE <>
On Tue, Jul 24, 2012 at 08:08:30AM -0700, earthgecko wrote:
> Quick erb question:
>
> Can you use a if val in an each do iteration? And if so... how :/ If
> someone knows and is kind enough to shed some light.
>
> Trying to figure what will work and the following do NOT work.
>
> <% hosts.eac
On Tue, Jul 24, 2012 at 8:08 AM, tomash wrote:
> Hi,
>
> I'm trying to get to grips with hiera and yaml as the backend.
>
> given a yaml file like this:
>
> ---
> user:
> dave:
> home: "/home/dave"
> shell: "/bin/bash"
> steve:
> home: "/home/steve"
> shell: "/bin/zsh"
>
> How
Thank you Stefan
Just testing and ...
gary@mc9:/../github/dev/puppet$ erb -P -x -T '-'
modules/csync2/templates/host.csync2.cfg.erb | ruby -c
Syntax OK
gary@mc9:/../github/dev/puppet$
Brilliant, thank you very much.
Would still be interested to know if you can use if val in the each do
contex
On Tuesday, July 24, 2012 9:33:28 AM UTC-7, ZJE wrote:
>
> I'm using Puppet 3.0.0rfc3, so your YMMV, but for me it's
> /lib/puppet/provider/
> and /lib/puppet/type
> Note both "type" and "provider" are both singular - there's no trailing
> 's'.
>
What ZJE said. The docs are here:
http://doc
In our environment, we publish a SKU to identify each class of server, such
that a server with X CPUs, Y DIMMS, and Z disks is SKU-2012-123. I would
like to create a custom fact to take this information from facter and
generate these SKUs. I'm relatively new to ruby, so I'm wondering what the
b
>Does directory /var/run/puppet exist? Does the puppet agent have write
access to it? (Don't neglect to consider SELinux if you're running it in
enforcing mode.)
Yes it exists, and I turned selinux off just to make sure. It still has the
same problem.
[root@ip ~]# puppet agent
dnsdomainname:
I wonder if I can use dashboard and foreman at the same time, and for
the same puppet master?
Thanks.
Hai T.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe fro
I'm having the same exact problem trying to get Apache to serve puppet
dashboard on CentOS 6.3. Apache is set up to serve my puppet master, and
the puppetmaster is configured and working just fine. I get this in the
apache error log:
Directory index forbidden by Options directive:
/usr/sha
And 2 minutes after I posted this, I got it working :). It was indeed the
RailsAutoDetect. I commented it out and set RailsBaseURI to /. Like this:
#RailsAutoDetect On
RailsBaseURI /
Listen 3000
...snip...
Hai, hope this works for you!
On Tuesday, July 24, 2012 2:30:46 PM UTC
I have figured it out. Simply move "RailsAutoDetect On" into the
virtualhost block will resolve the issue.
Basically, their example should be fixed the same way.
On Tue, Jul 24, 2012 at 11:30 AM, banjer wrote:
> I'm having the same exact problem trying to get Apache to serve puppet
> dashboard
That's a different type, but same difference.
I was looking at sshkey not ssh_authorized_key but it is the exact same problem.
Thanks!
Trevor
On Tue, Jul 24, 2012 at 10:57 AM, Matthias Saou wrote:
> On Tue, 24 Jul 2012 09:39:30 -0400
> Trevor Vaughan wrote:
>
>> I attempted to set it and it w
On Tue, Jul 24, 2012 at 9:28 PM, Hai Tao wrote:
> I wonder if I can use dashboard and foreman at the same time, and for
> the same puppet master?
>
> sure, just make sure you have both reports defined and that dashboard and
foreman are running on different ports...
Ohad
> Thanks.
>
> Hai T.
>
>
I placed the printf string in a separate variabe, then I can double quote the
variable and it will take care of escaping correctly.
$fdisk_cmd = "c\nu\nn\np\n1\n\n\nw\n"
exec { "fdisk /dev/${name}":
command => "printf \"$fdisk_cmd\" | fdisk /dev/${name}",
unless => "cat /proc/partitions | gre
Hi,
Coming In late to the conversation so forgive me if I dont get it.
You want to do a one way sync (a pull) from the backup server to other nodes?
Well I would say just rsync using passphraseless keys into a directory
structure split by node name.
However if you want to build a new password
On Tue, Jul 24, 2012 at 10:47:40AM -0700, earthgecko wrote:
[...]
> Would still be interested to know if you can use if val in the each do
> context.
>
[...]
> On Tuesday, July 24, 2012 6:12:27 PM UTC+1, Stefan Schulte wrote:
> > On Tue, Jul 24, 2012 at 08:08:30AM -0700, earthgecko wrote:
> > >
can dashboard and foreman share the same database then?
On Tue, Jul 24, 2012 at 11:46 AM, Ohad Levy wrote:
>
>
> On Tue, Jul 24, 2012 at 9:28 PM, Hai Tao wrote:
>>
>> I wonder if I can use dashboard and foreman at the same time, and for
>> the same puppet master?
>>
> sure, just make sure you ha
I am trying to isntall foreman, but it seems that it required to
config stored config first, and it will use the puppet database.
can someone explain why it has to use the stored config database?
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users
On Tuesday, July 24, 2012 4:27:39 PM UTC-5, Hai wrote:
>
> can dashboard and foreman share the same database then?
>
>
Yes, I have dashboard and foreman on my test Vm all set to use Puppet'd
database.
> On Tue, Jul 24, 2012 at 11:46 AM, Ohad Levy wrote:
> >
> >
> > On Tue, Jul 24, 2012 a
It only is needed if you want to have the foreman list/show facts and such
for the puppet master.
It makes life a lot easier, and makes foreman a lot more useful, and it
does make the process of importing classes a lot easier as well.
On Tuesday, July 24, 2012 4:35:42 PM UTC-5, Hai wrote:
>
>
On Tuesday, July 24, 2012 9:47:25 AM UTC-5, Nan Liu wrote:
>
> On Mon, Jul 23, 2012 at 11:10 AM, Trevor Vaughan
> wrote:
> > So, I'm sure this has been covered somewhere, but I can't seem to find
> it.
> >
> > Is there no 'purge' ability on the 'sshkey' type? It would be nice to
> > be abl
On Tue, Jul 24, 2012 at 3:05 PM, jcbollinger wrote:
>
>
> On Tuesday, July 24, 2012 9:47:25 AM UTC-5, Nan Liu wrote:
>>
>> On Mon, Jul 23, 2012 at 11:10 AM, Trevor Vaughan
>> wrote:
>> > So, I'm sure this has been covered somewhere, but I can't seem to find
>> > it.
>> >
>> > Is there no 'purge'
On Tuesday, July 24, 2012 1:04:38 PM UTC-5, Zippy Zeppoli wrote:
>
> >Does directory /var/run/puppet exist? Does the puppet agent have write
> access to it? (Don't neglect to consider SELinux if you're running it in
> enforcing mode.)
> Yes it exists, and I turned selinux off just to make sur
Thanks all, we've decided to stick with git super project and per module
repositories. Some of the modules will be a clone from github, but most are
internal. It seems to suit our needs and we don't see a reason to implement
librarian-puppet.
Ohad, I setup pulp at work and it's pretty good (tas
d'oh!
Syntax failure on my part it seems.
However, you can point sshkey to different files, so that could be my issue.
If you actually specify a target file for your sshkey instances, does
it still work?
Trevor
On Tue, Jul 24, 2012 at 6:21 PM, Nan Liu wrote:
> On Tue, Jul 24, 2012 at 3:05 PM,
On Tue, Jul 24, 2012 at 5:09 PM, Trevor Vaughan wrote:
> d'oh!
>
> Syntax failure on my part it seems.
>
> However, you can point sshkey to different files, so that could be my issue.
>
> If you actually specify a target file for your sshkey instances, does
> it still work?
No, back to parsedfile
Probably need to clarify a few things.
The server relationships are simply production/backup pairs (almost all
1:1, but > 100 of these unique pairings), and it would be a master/slave
type relationship, so there wouldn't be conflicts between production/backup
(the application isn't active/active
Ok, that verifies what I was seeing then.
Ah well. Thanks!
Trevor
On Tue, Jul 24, 2012 at 8:15 PM, Nan Liu wrote:
> On Tue, Jul 24, 2012 at 5:09 PM, Trevor Vaughan
> wrote:
>> d'oh!
>>
>> Syntax failure on my part it seems.
>>
>> However, you can point sshkey to different files, so that could
And is the following the best way to support this: (ie: will it be
supported for the foreseeable future.)
$modulepath/modulename/manifests/parentclass/subclassname.pp the way
the autoloader supports this?
Long story short, I can test and see if it works, but I don't want to
trust that as a way to
I'd like to add that *IF* you are using Foreman as an ENC, the
preferred method of putting facts in the Foreman database is the new
ENC script that updates facts on every puppet run:
https://github.com/theforeman/puppet-foreman/blob/master/templates/external_node.rb.erb
Where you might want to us
I created a skeleton configuration for managing multiple locations in puppet
that I would appreciate feedback on. The configuration as it stands is that
two sites are defined, Earth and Mars. Parameters for each site are defined in
site/manifests/earth/params.pp and site/manifests/mars/params.p
I'm thinking it should be fairly simple to have a puppetmaster call
out to an ENC script that queries the EC2 API to get tags for
classification purposes, and would be surprised if someone hasn't
already written an ENC script to do this.
I'm thinking this will help let nodes in autoscaling groups
The issue I ran into that caused problems was the following
Puppet 2.7.14 for some reason on my environment sets the keylength by
default to 4096. F5 LTM on at least 10.1 version can not support anything
more than 2048 for both the cert on the F5 and the client cert for
authentication the LTM w
On Tue, Jul 24, 2012 at 10:19 PM, Matt wrote:
> The issue I ran into that caused problems was the following
>
> Puppet 2.7.14 for some reason on my environment sets the keylength by
> default to 4096. F5 LTM on at least 10.1 version can not support anything
> more than 2048 for both the cert on th
57 matches
Mail list logo