On Tue, Jan 31, 2012 at 7:49 AM, sateesh wrote:
> Is there any tool like chef knife in puppet.
>
> My requirement is, I need to install a specified module on a plane
> ubuntu machine with a single line command as chef has with knife. In
> chef knife we will specify the IP, username, password, and
> On 01/26/2012 08:14 PM, Jo Rhett wrote:
>> One thing about a well-written piece of generic code is that it can be used
>> in many environments. A lot of my modules do things like "do I have an
>> external interface or am I behind the firewall?" and do different things
>> based on those answers
I second checking for required environment variables. Attempt to run
in a shell that hasn't sourced your .bash_profile and related login-
time config files. Also, try it with an exec with "/bin/bash -x /etc/
init.d/dropbox start" to further troubleshoot.
On Jan 30, 3:05 pm, "Richard K. Miller"
w
On 31/01/12 19:29, Dan White wrote:
> Puppet 2.6.12 on Red Hat 5.7
>
> Some background is necessary to set up the question:
> I have a class - toggledservices - where I have grouped service control.
> class toggledservices::disabled covers all the stuff I want turned off by
> default (for hardeni
On Tue, Jan 31, 2012 at 4:58 AM, sateesh wrote:
>
> Is there anything like chef knife in puppet. I want to install the
> specific module on the plain ubuntu machine using puppet scripts.
Puppet Cloud Provisioner [1] and [2] also can provision a plain ubuntu
machine for you in the cloud.
[1] http
Puppet 2.6.12 on Red Hat 5.7
Some background is necessary to set up the question:
I have a class - toggledservices - where I have grouped service control.
class toggledservices::disabled covers all the stuff I want turned off by
default (for hardening requirements)
and individual services I want
I can't completely answer your question unless you point to the section you're
asking about. (Possibly reply to my earlier post, quoting what I posted, and
insert your question right after the puzzling part.) I'll try anyway.
"mail::mount" is a define specified in the "mail" module. See:
http:/
This is a great example, but I need one more detail. Is "mail" a class
or a module?
Thank you
--
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 group, sen
> However, if I run the above command manually, it works fine and
> returns 0:
>
> root@webhost:~# /etc/init.d/dropbox start ; echo $?
> Starting dropbox...
> 0
>
> Any ideas why puppet can't start the dropbox daemon?
I had the same problem when running ssh-keygen via an exec. It ran fine
from
https://github.com/puppetlabs/puppet-module-tool
We are working to integrate that better with the rest of the product,
so it ships by default, but the external version will work for now.
On Tue, Jan 31, 2012 at 04:58, sateesh wrote:
>
> Is there anything like chef knife in puppet. I want to inst
On Mon, Jan 30, 2012 at 6:05 PM, Richard K. Miller
wrote:
> I'm using Dropbox's command-line daemon on one of our machines and
> want to use Puppet to keep it running. The dropbox service is already
> installed and allows me to successfully execute /etc/init.d/dropbox
> [start/stop/restart/service
Hi,
On 01/31/2012 12:05 AM, Richard K. Miller wrote:
> I get the following syslog error when this runs:
> (/Stage[main]/Dropbox::Service/Service[dropbox]/ensure) change from
> stopped to running failed: Could not start Service[dropbox]: Execution
> of '/etc/init.d/dropbox start' returned 1: at /e
Hi,
Is there any tool like chef knife in puppet.
My requirement is, I need to install a specified module on a plane
ubuntu machine with a single line command as chef has with knife. In
chef knife we will specify the IP, username, password, and the recipe
to install on a plane new ubuntu machine.
Hi,
I have installed the Puppet and configured the Client / server set up.
I have noticed that when I place any code in site.pp on server
machine, that is executed in regular intervals of time and runs the
script on client.
Is there any command that takes the Client IP as parameter and
executes t
Is there anything like chef knife in puppet. I want to install the
specific module on the plain ubuntu machine using puppet scripts.
Thanks in advance,
Sateesh B.
On Dec 9 2011, 10:22 am, Brian Gupta wrote:
> I would consider the following a small list of pros and cons for the three
> tools:
>
I'm using Dropbox's command-line daemon on one of our machines and
want to use Puppet to keep it running. The dropbox service is already
installed and allows me to successfully execute /etc/init.d/dropbox
[start/stop/restart/service]. Here's my code:
class dropbox::service {
service { "dropbox":
On Tue, Jan 31, 2012 at 5:50 AM, Erwin wrote:
> It's still impossible for me to reach (yum|downloads).puppetlabs.com.
> When I do a traceroute, it stops at hop 'static.theplanet.com'.
> On another network, I can see the next hop is
> 'li341-126.members.linode.com'. I ca reach linode.com, but I can
On Jan 31, 3:01 am, Felix Frank
wrote:
> Hi,
>
> On 01/30/2012 10:28 PM, Nick wrote:
>
> > It did sound similar, yes - but unless I misunderstand it, not identical.
> > For
> > example, I don't understand how Constraints would avoid the problems with
> > unifying resources that Nan mentioned.
On Tue, Jan 31, 2012 at 04:52:31PM +0100, Felix Frank wrote:
> On 01/31/2012 04:46 PM, Christopher Wood wrote:
> > This sounds like you want a define rather than a class.
>
> Possibly, but not yet determined ;-)
>
> > gross, horrible
>
> How so? It's not a bad example. If you dislike the data re
On 01/31/2012 04:46 PM, Christopher Wood wrote:
> This sounds like you want a define rather than a class.
Possibly, but not yet determined ;-)
> gross, horrible
How so? It's not a bad example. If you dislike the data redundancy, I
suggest:
define mail::mount($mount_base="/mail") {
include nf
Hi,
On 01/31/2012 04:39 PM, Olivier wrote:
> My problem is that I need to call the class multiple times in the
> site.pp file but with different parameters.
this is not possible.
It doesn't really make sense either. Classes in puppet are unlike
classes in other languages like C# or Java that you
This sounds like you want a define rather than a class.
http://docs.puppetlabs.com/guides/language_guide.html#defined-resource-types
I end up with something like this (gross, horrible, works, nfs client
installation not shown):
define mail::mount ($mountpoint, $source) {
include nfs::client
Hello
I get the following error:
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Duplicate definition: Class[paramclassexample] is already
defined in file /etc/puppetlabs/puppet/manifests/site.pp at line 152;
cannot redefine at /etc/puppetlabs/puppet/manifests/site.pp:155
Hello
Thank you for the help and this is what I ended up doing.
OLivier
--
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 group, send email to
puppet-
It's still impossible for me to reach (yum|downloads).puppetlabs.com.
When I do a traceroute, it stops at hop 'static.theplanet.com'.
On another network, I can see the next hop is
'li341-126.members.linode.com'. I ca reach linode.com, but I can't
reach the host 'li341-126.members.linode.com'. So th
On 31/01/12 09:01, Felix Frank wrote:
> Ah, so you'd have the agent verify if all assertions (which need to
> appear as first-class citizens in the catalog) hold true, and otherwise
> fail the catalog?
>
> That strikes me as very elegant indeed.
>
> How will situations be handled where assertions
> That's one of many reasons to not do that. Specifically, one should
> employ class inheritance only when it involves overriding resource
> properties of the parent class.
We have a history of using class inheritence to override variables in
template's or add extra functionality the base class
Hi,
On 01/30/2012 10:28 PM, Nick wrote:
> It did sound similar, yes - but unless I misunderstand it, not identical. For
> example, I don't understand how Constraints would avoid the problems with
> unifying resources that Nan mentioned.
as far as I understand, there is no need to merge anything.
> In general, I try and think of module dependencies and organization as
> a matter of composition. Discrete modules themselves should avoid
> establishing relationships with other modules. A module should,
> however, be diligent about managing the internal relationships of the
> classes and res
Ah, thanks Ken for the input. To my surprise, I found out that SLES11
has facter-1.5.2 and puppet 0.24.8 rpms installed, so after removing
them, everything works as expected.
Sven
On Jan 30, 7:06 pm, Ken Barber wrote:
> This smells like you have a second copy of facter or some other facts
> some
30 matches
Mail list logo