We've upgraded the Puppet master, and are working on the Puppet agents now.
Out of curiosity, is there an example facter script of the type people have
mentioned here? I think that would be a useful thing to have on hand.
On Monday, January 29, 2018 at 5:17:56 AM UTC-5, Brandon Blackmoor
5:29:52 AM UTC-5, Martin Alfke wrote:
>
> Hi Brandon,
>
> > On 25. Jan 2018, at 23:17, Brandon Blackmoor > wrote:
> >
> > I apologize if this is a stupid question, but I am still a novice at
> Puppet. I have been asked if it is possible to use Puppet to find o
I apologize if this is a stupid question, but I am still a novice at
Puppet. I have been asked if it is possible to use Puppet to find out if an
application (apparmor, specifically) is installed on our various nodes
(Ubuntu servers, specifically). The nodes are all running puppet agent and
so o
Is it possible to reference a top scope variable passed in from an ENC and
set a fact based on that? That is,
parameters:
var: value
I know it's the other way around that top scope variables are set from
facts, but just trying to figure out the best way to do this other that
writing out a scri
On Thursday, September 11, 2014 6:15:16 PM UTC-5, Henrik Lindberg wrote:
>
> On 2014-12-09 1:06, Henrik Lindberg wrote:
> > On 2014-11-09 22:57, Brandon Metcalf wrote:
> >>
> >>
> >> On Thursday, September 11, 2014 12:56:50 PM UTC-5, Henrik Lindberg
&g
On Thursday, September 11, 2014 12:56:50 PM UTC-5, Henrik Lindberg wrote:
>
> On 2014-11-09 16:04, Brandon Metcalf wrote:
> >
> > On Sunday, September 7, 2014 9:39:56 AM UTC-5, Felix.Frank wrote:
> >
> > On 09/06/2014 11:09 PM, Spencer Krum wrote:
>
On Sunday, September 7, 2014 9:39:56 AM UTC-5, Felix.Frank wrote:
>
> On 09/06/2014 11:09 PM, Spencer Krum wrote:
> >
> > $java_home = $java_home_var
> >
> > Barring that, this is the correct way to use a template:
> >
> > $java_home = inline_template('<%= @java_home_var %>')
>
> Well, yes,
On Friday, September 5, 2014 1:44:17 PM UTC-7, Anderson Mills wrote:
>
> Sebastian,
>
> So, this is caused by symlinks in this module which don't have a
> corresponding directory or file. Puppet 3.7.0 now checks for symlinks, and
> unfortunately has a File Not Found error if the symlinks don't
Using puppet 3.4.3 and getting the following warning:
Variable access via 'java_home_var' is deprecated. Use '@java_home_var'
instead. template[inline]:1
from the following line:
$java_home = inline_template('<%= scope[@java_home_var] %>')
Any
I'm not clear on what the etiquette is here but I was hoping to reach out
to the puppet community to see if there are any sysops people here who are
looking for work. My current admin recently got a new job and moved on so I
have need of a replacement person with puppet experience. If these kind
On Monday, September 23, 2013 4:47:45 AM UTC-5, Rahul Khengare wrote:
>
> Hi Brandon,
> puppet config print option print the environment variable of [main]
> section only it is not overridden by another config block.
> Check the config block of environment variable present in p
Am I missing something or is this behavior broken:
$ puppet -V
3.2.3
$ grep environment /etc/puppet/puppet.conf
environment = bmetcalf
$ puppet config print environment
production
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To
I've searched, but haven't found anything. I will continue looking.
On Thursday, June 13, 2013 6:25:35 AM UTC-7, jcbollinger wrote:
>
>
>
> On Thursday, June 13, 2013 1:34:32 AM UTC-5, denmat wrote:
>>
>> Hi,
>>
>> You sure that a grep for 'mount' through your manifest finds nothing?
>>
>>
> Ye
I'm maintaining part of a rather large puppet config and at a loss to
figure out where the following errors are coming from during a puppet
update:
err: Removing mount all: /var/lib/puppet/files/all does not exist or is not
a directory
err: Removing mount pixel: /var/lib/puppet/files/pixel does
Thanks for the help. I ended up removing the postgres user on the puppet
agent machine and directing puppet in the module manifest file to create
the postgres user. And now Exec ["postgres init"] runs properly.
On Tuesday, March 19, 2013 10:30:09 AM UTC-4, Brandon Groves wrote
is that Exec ["postgres init"] does not run as expected
because the initdb command in the shell script fails to write files to the
data directory. All the permissions on the files and directories are
correct and when I do:
[root@host]# su postgres
bash-4.1$ ./initializePostgres.sh
, t
ss it shouldn't be hard to
wrap the above into a script. One could use a directory from mktemp and
generate a minimal manifest from a here-document or by pulling it out of
the original manifest with awk/sed...
Hope that helps,
Brandon
--
You received this message because you are subscribed to
and pass them in to a `define` and it works, however I cannot
do this using virtual resources in order to work from multiple modules.
Thanks,
Brandon
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visi
Fairly new to puppet here and trying to figure out a couple of issues
with distributing ssh keys. First one is how can I distribute a
public key with the from= field at the beginning. What I currently
have working is
ssh_authorized_key { "brandon":
user => "br
Thanks. This is what I thought and I tried moving that class to a
module named groups to no avail. I'll revisit to see what I did wrong.
On Mar 15, 2011, at 4:48, Martijn Grendelman wrote:
> On 14-03-11 22:31, Brandon Metcalf wrote:
>> I'm using the module https://github
I'm using the module https://github.com/sansnoc/puppet/tree/master/users
but running into a problem where puppet can't find a class. In /etc/
puppet/manifests/nodes.pp I have
node basenode {
include hosts
include groups::namidev
include users::people
include users::namidev
}
node 'uti
[1]['server_tokens'].split(/,/)
i = 0
while i < nprocs do
svrs.push(sprintf('%s:%u/%s', ip, sport + i, stokens[i]))
i += 1
end
}
servers = svrs.join("\n")
%><%= servers %>
-- Brandon
--
You received
k sanely. Still using 2.6.1 from the official
stable repos for clients, seems to work fine.
-- Brandon
--
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
On 8/23/10 9:15 AM, Franck wrote:
So I've decided to use crontab for all my puppet clients rather than
the daemon. I've set-up a puppetmaster with seven puppet clients.
I'm using the following pattern:
class cron {
$minute = generate('/usr/bin/env', 'sh', '-c', 'printf $((RANDOM
%60+0)
conf directory on the puppetmaster.
-brandon
--~--~-~--~~~---~--~~
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 from this gro
f into the RPM also. It is part of the
"Migration to REST"
[http://reductivelabs.com/trac/puppet/wiki/ReleaseNotes#migration-to-rest]
process and is signficantly different the the other puppet configuration
files.
-brandon
--~--~-~--~~~---~--~~
You
e ' /etc/fstab | grep -c nosuid` -eq 0",
environment => "MNT_OPTS=`grep ' \/home ' /etc/fstab | awk '{print
$4}'`";
}
Could someone tell me what I'm doing wrong and tell me what I need to do to
fix it or point me at some examples.
Regards,
Brandon
e the user is
created the home directory of the user is not. If I run puppet after the
installation of the operating system is complete the users home directory is
successfully added. Anyone have any ideas what might be happening?
Thanks in adv
> I requested this feature but it was rejected.
>
> http://projects.reductivelabs.com/issues/2247
>
> Ben
I ran into the same issue.
There is another similar feature request that would solve this issue.
http://projects.reductivelabs.com/issue
your
Fedora boxes to find out.
Hopefully this helps you out. Left me know if you have any more
questions or hop into #puppet in freenode. There is usually someone
there who will answer any questions you have.
-Brandon Evans
> Help most welcome! Tim
>
> On Apr 30, 10:19 pm, Brand
no-can-do. What exactly are you trying to get done?
-brandon
John Florian wrote:
> Anyone know of how I can do in puppet the equivalent of this from the
> land of shell scripting?
>
> foo=$(cat /tmp/bar)
>
> or if you prefer
>
at is disabled by default (yum
--enablrerepo=rpmforge)
I ended up reluctantly creating custom Exec's for both scenarios.
There is a feature request ticket open for the issue I mentioned
http://projects.reductivelabs.com/issues/915
-Brandon
Jim Pirzyk wrote:
> I see the same dependency
lease %>/$basearch
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-<%=
lsbmajdistrelease %>&arch=$basearch
failovermethod=priority
enabled=<%= enableme %>
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
== SNIP ==
-Brandon
t.kend...@kew.org wr
It is Redhat 8 from 2002 >:-}
My first swing at getting it running on rh8 didn't go so well. The
method listed here seems to work fine. Since my original post I have
since rolled it out to my redhat 8 boxes (about 6 of them) and
everything is running smooth.
-brandon
David Lu
> Hey Brandon,
>
> Good work, one question though. I see that you are make && make
> install 'ing at a lot of places. Wouldn't it be better if you just
> download the latest source rpm and modify the spec file instead?
>
> Just a though.
>
Perha
Will do. I'll clean it up a little and add try to add it today.
-Brandon
Peter Meier wrote:
> Hi
>
>> I got puppet installed and running on Redhat 8 today. I'm passing on my
>> notes to the list to help out others that may want or need puppet
>> running o
ted in
/opt/puppet/lib/ruby/gems/1.8/bin. I ended up creating a puppet module
that links the different binaries from the gems directory to /usr/bin &
/usr/sbin then adds an init script to /etc/init.d
* When you run puppetd for the first time it
have you tried installing using the ruby gem method?
http://reductivelabs.com/trac/puppet/wiki/InstallationGuide#Alternative:UsingRubyGems
I got fairly far using this method with Redhat 8 before having to put my
Redhat 8 + puppet project on hold.
-Brandon
Vincent wrote:
> Hello,
>
38 matches
Mail list logo