On 4 мар, 12:23, Ben Hughes wrote:
> On Thu, Mar 03, 2011 at 11:20:38PM -0800, aleksey_k wrote:
> # puppet agent --test
>
puppetmaster:
#grep -i keys node/test-nodes.pp
include "keys"
puppetclient:
#puppetd --version
2.6.2
#puppetd --test
info: Caching catalog for test-node
info: Applying config
On Thu, Mar 03, 2011 at 11:20:38PM -0800, aleksey_k wrote:
> But puppet client don't copy file from puppet server :(
Anything in the output or logs at all?
Stop the client and run:
# puppet agent --test
and that should give you more information as to why.
--
Ben Hughes || http://www.puppetla
On 4 мар, 11:00, Ben Hughes wrote:
> On Thu, Mar 03, 2011 at 09:39:02PM -0800, aleksey_k wrote:
> > Hi. i have "keys" class where I copy some files from puppet server.
>
> You're trying to do ERB templating in a manifest. You can't do that.
>
> You could use the ruby DSL, or in puppet language, tr
On Thu, Mar 03, 2011 at 09:39:02PM -0800, aleksey_k wrote:
> Hi. i have "keys" class where I copy some files from puppet server.
You're trying to do ERB templating in a manifest. You can't do that.
You could use the ruby DSL, or in puppet language, try the following:
define userkey() {
file
Hi. i have "keys" class where I copy some files from puppet server.
Example:
#cat keys.pp
class keys {
$users=["user1","user2","user3"]
<% users.each do |u| -%>
file { "/etc/file/keys/<%= u %>_keys":
owner => "<%= u %>",
group => "root"
postfix-pflogsumm.x86_64, it's summ not sum.
source => "puppet:///postfix/aliases.db"; <--- I don't think you need
the ; anywhere. You've got a a few of them.
Ramin
On Mar 3, 1:14 pm, Tim Dunphy wrote:
> hello list!!
>
> I am having some trouble with a postfix module I am attempting to
> implem
Hi doug, I've been getting this as well , someone suggested searching
the entire filesystem on the client for a directory called .puppet and
delete any found. I haven't tried this yet though
On Mar 3, 2:36 pm, Douglas Garstang wrote:
> I'm sure it must already be a known bug, but I've been getti
On Thu, Mar 03, 2011 at 07:38:28PM -0800, Forrie wrote:
> So are you saying for the "absent" items, we'll need to include a
> file{} directive to remove the mount point, too?
The mount handler won't go around deleting directories for you,
thankfully. (:
Do you create the mount point before you m
I'm trying to figure out how to manage the NFS mounts, then 'unmanage'
them when we're done -- ie: remove the NFS mount (ensure => absent)
and make sure the mount point on the client is removed.
I thought for the mount{} portion of this and loop over it. But it's
not a big deal, I don't mind edit
Hi all,
I'm trying to find a way to collect exported resources based not only on a tag
but also based on the originating node. Currently exported resources can't
collected using more than one criteria, but I can get around that by wrapping
the resource in a define and exporting that.
I can't s
This visudo checker I've written (based on some examples from the web
and puppet training materials) causes a dependency loop -- but only
when I include the unless => "diff ...". It seems someone got clever
and decided to look at exec's and look for managed filenames in
argument lists and create i
On Thu, Mar 03, 2011 at 05:49:58PM -0800, Forrie wrote:
> I caught that, thank you -- I've wiped my glasses thoroughly ;-)
(:
> One other issue I'm running into is I would like the client to
> *create* (mkdir) the mountpoint with the correct permissions if it
> doesn't exist. I don't see a way
It looks like you can't change the definition of "ensure => mounted"
to "ensure => absent" and have it automatically remove the managed
resource (mount point).We have a series of directories that are
used for all three terms, after we're done, we don't need the NFS
mounts or directories present
I caught that, thank you -- I've wiped my glasses thoroughly ;-)
One other issue I'm running into is I would like the client to
*create* (mkdir) the mountpoint with the correct permissions if it
doesn't exist. I don't see a way that can be done within the mount
{} construct... is there a clever
On Mar 3, 2011, at 1:40 PM, Brian Gupta wrote:
>> Absolutely. I'll keep your name on my list, and we'll make our plans in
>> public.
>
> Any sense on a timeframe?
Not at all. I don't like that answer either, but it's the only truth we have.
We'll have a better idea when our roadmap for Dash
On Thu, Mar 03, 2011 at 03:11:40PM -0800, Forrie wrote:
> I'm trying to get a simple NFS mount to work with Puppet, using this:
[snip]
> atboot => "true,
Missing a "
(:
--
Ben Hughes || http://www.puppetlabs.com/
--
You received this message because you are subscribed to the Google
On Thu, Mar 03, 2011 at 01:26:19PM -0800, Michel wrote:
> In this eaxmple the users::four is included in the node. When it
> goes to the motd.conf.erb file though it complains that I am trying
> to compare a string to an integer.
Puppet internally presents that as a string.
If you change it to:
On Thu, Mar 03, 2011 at 09:09:59AM -0800, toneee wrote:
> I have a small problem, I am creating users with ssh keys and this is
> working fine, the only problem I have is because i dont set a password
> and only use sshkeys to login the account created is locked. Is there
> any way around this?
W
On Thu, Mar 03, 2011 at 12:11:23AM -0800, Douglas Garstang wrote:
> to make sure a specific version of an RPM is installed. I don't think that's
> actually documented.
RPM is listed as versionable at
http://docs.puppetlabs.com/references/latest/type.html#package so it is
documented there certainl
Brian Gupta wrote:
> We'll definably check it out. I'm wondering right now who's version we
> should start testing, and where we install it? Also does it interface
> directly with dashboard, or is everything proxied through the puppetmaster?
>
Brian
Use Luke's (lak). It's largely a CLI for inter
Brian Gupta wrote:
>
> Yes it will also make it possible to integrate with Ubuntu's cloud-init
> framework, which has quickly become the standard for cloud-based
> post-spinup node customization and configuration, with CentOS and other
> distro support included. Amazon has even adopted it now. Tha
I'm trying to get a simple NFS mount to work with Puppet, using this:
[ init.pp ]
class myclass {
mount { "/home/directory":
device => "server.domain.com:/exportdir/directory",
fstype => "nfs",
ensure => "mounted",
options => "tcp,intr,hard,rw,bg,rsize=3276
On Thu, Mar 3, 2011 at 4:25 PM, James Turnbull wrote:
> Brian Gupta wrote:
> > We find it frequently useful to be able to set variables from within
> > puppet to communicate information from one module or class to another,
> > or to save state across puppet runs. It also makes cloud management a
On Thu, Mar 3, 2011 at 12:27 PM, Randall Hansen wrote:
> On Mar 3, 2011, at 9:20 AM, Brian Gupta wrote:
>
> > Also, going forward, it would be very helpful for the API to be an equal
> citizen of the GUI.
>
> I agree, Brian. While we plan to improve Dashboard's GUI for those who
> want it, it's o
Hello;
Is it possible to include integer comparison in Puppet templates? An
example
node 'testy' {
$foo = 5
if ( $foo > 4 ) {
include users::four
}
include files::motd
}
class files::motd {
file { "/etc/motd":
content => template("files/motd.conf.erb")
}
Template mord.conf.erb
Brian Gupta wrote:
> We find it frequently useful to be able to set variables from within
> puppet to communicate information from one module or class to another,
> or to save state across puppet runs. It also makes cloud management and
> bootstrapping easier to be able to specify classes/variable
hello list!!
I am having some trouble with a postfix module I am attempting to
implement. as always, your input is extremely valuable and would be
appreciated
here's what's going on:
## errors
err: //postfix/Package[postfix-pflogsum.x86_64]/ensure: change from
absent to present failed: Could n
On Thu, Mar 3, 2011 at 6:41 PM, Daniel Piddock
wrote:
> Update your lsb-release package to at least version 3.2-23.2squeeze1.
That was it, turns out the upgrade hadn't finished properly hence left
a few packages pending updates.
Thanks for the reply and sorry for the noise.
Cheers,
Steph
--
Y
Hi Matthew,
Thank you for your input. What I did was add an include apache
statement to the /etc/puppet/modules/apache/manifests/virtual_host.pp
file and that got this working!
define apache::virtual_host($ip, $ensure = "enabled") {
include apache
$file = "/etc/httpd/conf.d/$name.con
I'm sure it must already be a known bug, but I've been getting this message
frequently on the clients:
Could not retrieve catalog from remote server: Could not intern from pson:
source did not contain any PSON!
Happens erratically but it's frequency seems to have increased with my
upgrade from 2.
On 03/03/11 11:55, FRLinux wrote:
> Hello all,
>
> I use puppetmaster on a Debian Squeeze server (packaged from Debian 2.6.2-4)
>
> I am using a template for Debian Servers which works great for Lenny
> in order to update my sources.list automagically, here goes:
>
> deb http://ftp.ie.debian.org/de
On Thu, Mar 3, 2011 at 4:55 AM, FRLinux wrote:
> Hello all,
>
> I use puppetmaster on a Debian Squeeze server (packaged from Debian 2.6.2-4)
>
> I am using a template for Debian Servers which works great for Lenny
> in order to update my sources.list automagically, here goes:
>
> deb http://ftp.ie
On Mar 3, 2011, at 9:20 AM, Brian Gupta wrote:
> Also, going forward, it would be very helpful for the API to be an equal
> citizen of the GUI.
I agree, Brian. While we plan to improve Dashboard's GUI for those who want
it, it's often hard to beat a CLI for efficiency and repeatability.
> Ple
On 2 March 2011 23:59, Trevor Vaughan wrote:
> Beyond what Den pointed out, I would like to see either native (or
> good instructions) support for authenticating with X.509 PKI
> certificates.
>
> You would need to be able to specify:
>
> - The trusted CA chains
> - The CRL/OCSP/SCVP connections
>
Hello all,
I use puppetmaster on a Debian Squeeze server (packaged from Debian 2.6.2-4)
I am using a template for Debian Servers which works great for Lenny
in order to update my sources.list automagically, here goes:
deb http://ftp.ie.debian.org/debian <%= lsbdistcodename %> main contrib non-fr
Hi,
I have a small problem, I am creating users with ssh keys and this is
working fine, the only problem I have is because i dont set a password
and only use sshkeys to login the account created is locked. Is there
any way around this?
thanks.
--
You received this message because you are subscr
We find it frequently useful to be able to set variables from within puppet
to communicate information from one module or class to another, or to save
state across puppet runs. It also makes cloud management and bootstrapping
easier to be able to specify classes/variables from a command line scrip
Agreed on keeping auth and auth separately pluggable concerns. RADIUS and LDAP
are also what I would like for authentication. We'd probably be OK with even an
internal authorization system, since that's what our other management apps use.
-- O
On Mar 2, 2011, at 5:01 PM, Frank Sweetser wrote:
Jacob Helwig writes:
> This maintenance release fixes two issues with Puppet 2.6.5.
To help with testing on Debian or Ubuntu, I've updated the apt repo at:
deb http://people.debian.org/~ssm/repo unstable main
deb-src http://people.debian.org/~ssm/repo unstable main
--
Stig Sandbeck Mathis
On Mar 2, 5:52 pm, Patrick Connolly
wrote:
> Any thoughts? I like the Git idea, and might pursue that, but wondering if
> anyone has input :)
If you're on EL you may want to look at cft[1]. I thought I saw
mention of work to bring ti to Deb based distros as well. I haven't
actually used it, but l
On Tue, Mar 1, 2011 at 7:22 PM, Patrick wrote:
>
> On Mar 1, 2011, at 4:58 PM, Giovanni Bordello wrote:
>
> Hi folks,
>
> I'm very new to Puppet and perhaps what I'm trying to do is a trivial
> thing. No so much for me though..
>
> I use Puppet 2.6 to manage a bunch of CentOS 5 servers. A handful
On Tue, Mar 1, 2011 at 12:52 AM, luke.bigum wrote:
> On Feb 28, 7:50 pm, Luis Miguel Silva
> wrote:
> > Dear all,
> >
> > I'm a software integrator and i'm currently evaluating Puppet to
> > understand how we can potentially integrate our products with it.
> > I've been reading documentation on i
42 matches
Mail list logo