I really appreciate your reply, but I've inherited a mess that isn't easy to
fix, and the most appropriate solution for right now isn't always the "best"
solution. When the boss says "GET IT DONE", you don't have time to refactor
someone elses mess and do it the right way. I try and make my questio
Thanks Wolf,
This works perfectly.
Cheers,
Sam
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/oayiKvapyZUJ.
To post to this group, send email to puppet-
On Thu, Sep 1, 2011 at 5:40 PM, Douglas Garstang wrote:
> Nigel,
>
> Are you referring to the 'Class Filters' section on
> http://docs.puppetlabs.com/mcollective/reference/integration/puppet.html ?
>
> If so, that's not really the same thing. Classes.txt lists classes included
> on a server. That'
md5sum your apache configs and compare, then diff if necessary
On Thu, Sep 1, 2011 at 5:06 PM, Marek Dohojda wrote:
> I have multiple server (rhel5.3) running puppet server. 2 of these
> servers are also running passenger. However on the third server I am
> running into a weird problem:
> C
Nigel,
Are you referring to the 'Class Filters' section on
http://docs.puppetlabs.com/mcollective/reference/integration/puppet.html ?
If so, that's not really the same thing. Classes.txt lists classes included
on a server. That's not what I am looking for. Life isn't always as simple
as assuming
Thanks Nigel, but there's no mention of classes.txt on that page.
On Thu, Sep 1, 2011 at 5:16 PM, Nigel Kersten wrote:
>
>
> On Thu, Sep 1, 2011 at 5:02 PM, Douglas Garstang
> wrote:
>
>> On Thu, Sep 1, 2011 at 4:58 PM, Aaron Grewell wrote:
>>
>>> And then assign classes based on that. Standar
Tried that once before... I forget why but it didn't work so well.
On Thu, Sep 1, 2011 at 5:17 PM, Aaron Grewell wrote:
> This is just me Googling wildly into the air but are you using this
> approach?
>
>
> http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/FactsFacterYAML
>
>
This is just me Googling wildly into the air but are you using this
approach?
http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/FactsFacterYAML
If I'm reading the code correctly (somewhat questionable, my Ruby-foo is
weak) it should return all top-scope variables and facts.
On Thu
On Thu, Sep 1, 2011 at 5:02 PM, Douglas Garstang wrote:
> On Thu, Sep 1, 2011 at 4:58 PM, Aaron Grewell wrote:
>
>> And then assign classes based on that. Standard if logic or case
>> statement as you prefer.
>>
>> On Thu, Sep 1, 2011 at 4:57 PM, Douglas Garstang > > wrote:
>>
>>> On Thu, Sep 1,
On Thu, Sep 1, 2011 at 5:05 PM, Aaron Grewell wrote:
> Ah. I don't know how mcollective works so I'm not sure how to address
> that. If there's a YAML data file involved then you could push it with
> Puppet...
>
>
>
Yes, mcollective can read a YAML file, which by default is
/etc/mcollective/fact
I have multiple server (rhel5.3) running puppet server. 2 of these servers
are also running passenger. However on the third server I am running into a
weird problem:
Could not retrieve catalog from remote server: No format match the given
format name or mime-type (text/html
The puppetmaster i
Ah. I don't know how mcollective works so I'm not sure how to address
that. If there's a YAML data file involved then you could push it with
Puppet...
On Thu, Sep 1, 2011 at 5:02 PM, Douglas Garstang wrote:
> On Thu, Sep 1, 2011 at 4:58 PM, Aaron Grewell wrote:
>
>> And then assign classes base
On Thu, Sep 1, 2011 at 4:58 PM, Aaron Grewell wrote:
> And then assign classes based on that. Standard if logic or case statement
> as you prefer.
>
> On Thu, Sep 1, 2011 at 4:57 PM, Douglas Garstang
> wrote:
>
>> On Thu, Sep 1, 2011 at 4:56 PM, Aaron Grewell wrote:
>>
>>> Create a variable for
And then assign classes based on that. Standard if logic or case statement
as you prefer.
On Thu, Sep 1, 2011 at 4:57 PM, Douglas Garstang wrote:
> On Thu, Sep 1, 2011 at 4:56 PM, Aaron Grewell wrote:
>
>> Create a variable for server_class in your node definition.
>>
>>
>>
> And then?
>
>
>
On Thu, Sep 1, 2011 at 4:56 PM, Aaron Grewell wrote:
> Create a variable for server_class in your node definition.
>
>
>
And then?
--
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@googlegroup
Create a variable for server_class in your node definition.
On Thu, Sep 1, 2011 at 4:48 PM, Douglas Garstang wrote:
>
> On Thu, Sep 1, 2011 at 4:31 PM, Aaron Grewell wrote:
>
>> You can't. The whole purpose of facts is to allow Puppet to make
>> decisions based on client data. Variables=server,
On Thu, Sep 1, 2011 at 4:31 PM, Aaron Grewell wrote:
> You can't. The whole purpose of facts is to allow Puppet to make decisions
> based on client data. Variables=server, facts=client.
>
>
Seriously??? I can edit mcollective's server.cfg file and change the
factsource from facter to yaml, and t
On Thu, Sep 1, 2011 at 4:31 PM, Aaron Grewell wrote:
> You can't. The whole purpose of facts is to allow Puppet to make decisions
> based on client data. Variables=server, facts=client.
Yep. However, puppet manifests do allow you to access both and make
decisions based on their values.
class
I ended up having to use $hostname
not braces, nothing, weird
On Fri, Aug 5, 2011 at 12:54 AM, Denmat wrote:
> Hi,
>
> You can use facts supplied by facter to do the following (assuming you want
> to do this for host with hostname host1).
>
> > puppet:///files/configuration_files/${hostname}/m
You can't. The whole purpose of facts is to allow Puppet to make decisions
based on client data. Variables=server, facts=client.
On Thu, Sep 1, 2011 at 3:41 PM, Douglas Garstang wrote:
> So, after reading this doc:
>
> http://projects.puppetlabs.com/projects/1/wiki/Adding_Facts
>
> it's not rea
Hi
I have a simple site.pp in my manifests folder on puppetmaster
it has one line, import x.pp
However, in the manifests folder on puppetmaster
also includes another file y.pp
x.pp is applied just fine to relevant agents, but however
y.pp is also applied BUT IS not imported into the site.pp
wh
So, after reading this doc:
http://projects.puppetlabs.com/projects/1/wiki/Adding_Facts
it's not readily apparent to me how I can create facts that are derived from
variables defined at the node level in puppet, rather than at the O/S level
on the client. I want to be able to set a variable that
On Sep 1, 9:30 am, treydock wrote:
[...]
> Thanks for the suggestion. I run puppet manually as you suggested,
> and still no errors. Even stranger is sometime last night the errors
> stopped occurring. From the time I activated the samba module, till
> last night it failed like clockwork, eve
On Sep 1, 2011, at 2:01 PM, Douglas Garstang wrote:
>
> Editing files locally under /etc/puppet as an individual user is not mutually
> exclusive with editing files in a distributed working copy owned by the same
> user.
If it's not, then there's no point in asking for help: your environment
Douglas Garstang writes:
> On Thu, Sep 1, 2011 at 1:35 PM, Steven VanDevender wrote:
>
> > Douglas Garstang writes:
> > > Was that in reply to my original post, or a subsequent reply? You did
> > see
> > > where I said /etc/puppet was a working copy, right?
> >
> > It sounds like you nee
On Thu, Sep 1, 2011 at 1:35 PM, Steven VanDevender wrote:
> Douglas Garstang writes:
> > Was that in reply to my original post, or a subsequent reply? You did
> see
> > where I said /etc/puppet was a working copy, right?
>
> It sounds like you need to get to the point where no one does their
> e
On Thu, Sep 1, 2011 at 1:35 PM, Steven VanDevender wrote:
> Douglas Garstang writes:
> > Was that in reply to my original post, or a subsequent reply? You did
> see
> > where I said /etc/puppet was a working copy, right?
>
> It sounds like you need to get to the point where no one does their
> e
On Sep 1, 11:46 am, Douglas Garstang wrote:
> For example, the very first sentence on the page starts with:
>
> "Learn how to distribute custom facts and types"
>
> How about a definition of what a custom fact and type are? Good
> documentation generally doesn't assume that the reader knows all
Yea, so I was wrong. I was one of my custom facts. Added some logic
and was able to get rid of the warning/error.
Not sure why it only showed up after going to 2.7.3 but I found where
it was being caused and fixed it. Funny that it was working fine
outside of puppet (facter) and didn't seem to
Douglas Garstang writes:
> Was that in reply to my original post, or a subsequent reply? You did see
> where I said /etc/puppet was a working copy, right?
It sounds like you need to get to the point where no one does their
edits under /etc/puppet on the puppetmaster, because you're obviously
run
You asked for best practices and that document describes them, essentially.
If your process is broken it should be fixed.
On Thu, Sep 1, 2011 at 1:28 PM, Douglas Garstang wrote:
> Was that in reply to my original post, or a subsequent reply? You did see
> where I said /etc/puppet was a working co
Aaron Grewell writes:
> Technically true, but administratively confusing IMHO.
We put our all our Puppet data (but not the puppetmaster config) in a
Subversion repository. Everyone does editing in their own working copy
checked out from that Subversion repository. Commits to the repository
trig
Was that in reply to my original post, or a subsequent reply? You did see
where I said /etc/puppet was a working copy, right?
Doug.
On Thu, Sep 1, 2011 at 1:09 PM, Scott Smith wrote:
> http://projects.puppetlabs.com/projects/1/wiki/Puppet_Version_Control
>
> On Thu, Sep 1, 2011 at 11:47 AM, Dou
I can't say I've ever met someone who had trouble with this.
On Thu, Sep 1, 2011 at 1:10 PM, Aaron Grewell wrote:
> Technically true, but administratively confusing IMHO.
>
> On Thu, Sep 1, 2011 at 1:08 PM, Scott Smith wrote:
>
>> A directory is a directory. That a directory has a parent directo
Also, setgid directories with umask 002 can help if you don't want to use a
VCS.
On Thu, Sep 1, 2011 at 11:47 AM, Douglas Garstang
wrote:
> I have a real-world, best practices, procedural question.
>
> How do you manage the he puppet master, under /etc/puppet, where multiple
> people may be editi
Technically true, but administratively confusing IMHO.
On Thu, Sep 1, 2011 at 1:08 PM, Scott Smith wrote:
> A directory is a directory. That a directory has a parent directory in
> which other files exist is pretty moot.
>
> On Thu, Sep 1, 2011 at 12:13 PM, Aaron Grewell wrote:
>
>> We don't put
http://projects.puppetlabs.com/projects/1/wiki/Puppet_Version_Control
On Thu, Sep 1, 2011 at 11:47 AM, Douglas Garstang
wrote:
> I have a real-world, best practices, procedural question.
>
> How do you manage the he puppet master, under /etc/puppet, where multiple
> people may be editing files? T
A directory is a directory. That a directory has a parent directory in which
other files exist is pretty moot.
On Thu, Sep 1, 2011 at 12:13 PM, Aaron Grewell wrote:
> We don't put our manifests under /etc/puppet at all. It's convenient for
> small installations but as we scaled up I found mixin
We don't put our manifests under /etc/puppet at all. It's convenient for
small installations but as we scaled up I found mixing configs (local,
managed by Puppet) and manifests (kept under version control) to be
problematic.
On Sep 1, 2011 11:58 AM, "Russell Van Tassell" wrote:
> I'm currently
Here's what I've been doing, fwiw:
file { 'nsswitch.conf':
path => '/etc/nsswitch.conf',
content => inline_template(
file(
"/etc/puppet/modules/dist/ldapclient/templates/etc/nsswitch.conf.$hostname.erb",
"/etc/puppet/modules/dist/ldapclient/templates/etc/nsswitch.conf.$device
On Thu, Sep 01, 2011 at 11:58:04AM -0700, Russell Van Tassell wrote:
> I'm currently in the same position, and the solution I've proposed (and am
> currently working on) involves using a central repository (likely git). The
> puppet client (running on the master) simply checks the current master
>
I'm currently in the same position, and the solution I've proposed (and am
currently working on) involves using a central repository (likely git). The
puppet client (running on the master) simply checks the current master
branch on the remote repository -- if the revisions are not the same, it
just
I have a real-world, best practices, procedural question.
How do you manage the he puppet master, under /etc/puppet, where multiple
people may be editing files? The /etc/puppet directory is a working copy,
and each user has read access to files created by other users. However, if
one person adds a
Hello...
On Wed, 2011-08-31 at 15:02 -0400, Todd Zullinger wrote:
> I wrote:
> > Chris May wrote:
> >> Did anyone ever post a bug, or find a solution for this? I've just
> >> upgraded some of our Solaris boxes (using OpenCSW) to 2.6.9 and I'm
> >> seeing the same behaviour.
> >
> > If there is a b
On Thu, 01 Sep 2011 12:14:51 -0400, Guy Matz wrote:
>
> Hi,
> I have inherited some code to create users that doesn't work when removing
> users . . . it's listed below. It works for adding users, but when it
> comes to removing users I get:
> err: /Stage[main]/Common/Common::Mkuser[oshi.apen]/G
For example, the very first sentence on the page starts with:
"Learn how to distribute custom facts and types"
How about a definition of what a custom fact and type are? Good
documentation generally doesn't assume that the reader knows all the
terminology being used without first defining or desc
it seems that first run with storeconfigs should be done through
puppetmasterd daemon and not through passenger.
When I do this tables are created and not mysql error is generated
I probably missed that in the documents
(now I have : err: stack level too deep )
10x
Moty
--
You received t
Hi,
I have inherited some code to create users that doesn't work when removing
users . . . it's listed below. It works for adding users, but when it
comes to removing users I get:
err: /Stage[main]/Common/Common::Mkuser[oshi.apen]/Group[oshi.apen]/ensure:
change from present to absent failed: Cou
it seems that first run with storeconfigs should be done through
puppetmasterd daemon and not through passenger.
When I do this tables are created and not mysql error is generated
I probably missed that in the documents
(now I have : err: stack level too deep )
Moty
--
You received this mes
here is the full message I get:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not connect to database: Please install the mysql adapter: `gem
install activerecord-mysql-adapter` (Could not find mysql (~> 2.8.1) amongst
[actionmailer-3.1.0, actionpack-3.1.0, ac
Hey All -
So, two things after I updated to Dashboard 1.2.0 (and the Ruby 1.8.7
built for CentOS 5.6 by Karanbir Singh).
First thing is I run load balanced puppet masters and puppet dashboard
servers, after the update I noticed these messages showing under the
background tasks listing as failures
Hey All -
So, two things after I updated to Dashboard 1.2.0 (and the Ruby 1.8.7
built for CentOS 5.6 by Karanbir Singh).
First thing is I run load balanced puppet masters and puppet dashboard
servers, after the update I noticed these messages showing under the
background tasks listing as failures
Hello,
My organization is currently running a complete production environment on
Amazon EC2, and I'm now trying to implement some automations and scaling
with puppet.
I have several instances which I want them to be almost automatic, meaning
that whenever is needed more instances will come up, a
Hello
I just start to learn puppet. And have follow question. How is it possible
to override params in define. For example i have follow definition for
manage devel users:
define users::devel
{
$l_shell_path = $operatingsystem ? {
"freebsd" => "/bin/csh",
On Sep 1, 2011, at 8:19 AM, Moty wrote:
>
> Well sorry for not being accurate
>
> - I meant gems not libraries
> - regarding mysql I tries the gem version of it and the apt pkg . both gave
> samne results
sounds like you don't have mysql configured on your puppetmaster
Craig
--
On Sep 1, 2011, at 7:30 AM, treydock wrote:
> My understanding of the internals of how Winbind/Samba store and cache
> AD account information is a bit lacking, but could this be that it
> just took time for the groups/users to get cached? Authentication and
> all other functions relying on these
Well sorry for not being accurate
- I meant gems not libraries
- regarding mysql I tries the gem version of it and the apt pkg . both gave
samne results
Moty
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on
On Sep 1, 2011, at 7:27 AM, Moty wrote:
> I'm trying to build a server with puppet 2.7.3 and storeconfig . I keep
> getting the following error:
>
> err: Could not retrieve catalog from remote server: Error 400 on SERVER:
> Could not connect to database: Please install the mysql adapter: `gem
Hi,
I have this:
service { "bind9":
ensure => running,
hasrestart => true,
pattern => "named",
require => Package["bind9"],
}
because the process is called 'named'.
Best regards,
Martijn Grendelman
On 31-08-11 22:56, Russell Van Tassell wrote:
On Sep 1, 8:03 am, jcbollinger wrote:
> On Aug 31, 8:09 pm, treydock wrote:
>
> > I have a file resource defined to be owned by a group that is
> > accessible via samba/winbind (AD based group), but every time Puppet
> > runs automatically (every 30 min) the run fails with this error ,
> > (sen
I'm trying to build a server with puppet 2.7.3 and storeconfig . I keep
getting the following error:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not connect to database: Please install the mysql adapter: `gem
install activerecord-mysql-adapter`
gem install a
On Wed, Aug 31, 2011 at 10:48 PM, Sam Morrison wrote:
> Hi,
>
> In a file resource I want to be able to specify multiple template contents.
> If the 1st template doesn't exist use the 2nd listed and so on. Much like
> how the source attribute works.
> Basically this:
>
> file { "/tmp/somefile.t
On Aug 31, 10:52 am, Brian Gallew wrote:
> Call me crazy, but isn't this just a matter of adding "replace => false" to
> the file resource? If it doesn't exist, Puppet will create it according to
> the manifest. Once in place, Puppet will leave it alone unless it vanishes,
> at which point
On Aug 31, 7:40 pm, Douglas Garstang wrote:
> Anyone,
>
> I've read this doc several times:
>
> http://docs.puppetlabs.com/guides/plugins_in_modules.html
>
> As a whole, it really doesn't make sense. It seems pretty obvious it was
> written by someone with deep knowledge of the subject, but ther
On Aug 31, 8:09 pm, treydock wrote:
> I have a file resource defined to be owned by a group that is
> accessible via samba/winbind (AD based group), but every time Puppet
> runs automatically (every 30 min) the run fails with this error ,
> (sensitive information removed)
>
> (/Stage[main]//Node
On 09/01/2011 04:32 AM, col yte wrote:
Hi folks,
I was curious if anyone would be willing to share how they organize
their puppet implementation. Perhaps something similar to what you'll
find at https://fedoraproject.org/wiki/Infrastructure/Puppet.
People should have this sort of stuff document
Hi,
I wanted to see if I could deploy an application, which runs on
multiple hosts, as a proof of concept, I've created Stacker [1]
Screencast [2]* showing it in a high level.
Any feedback is appreciated :)
thanks,
Ohad
[1] - https://github.com/ohadlevy/stacker
[2] - http://ohadlevy.fedorapeop
67 matches
Mail list logo