On Friday, 15 March 2013 14:46:37 UTC+5:30, yarlagadda ramya wrote:
>
> Hi all,
>
> I installed puppet agent in one ip in linux..and am trying to connect to
> master while installing only..agent is getting installed but its giving
> host name look up failure..
>
> But i specified the correct ho
On Friday, 15 March 2013 14:46:37 UTC+5:30, yarlagadda ramya wrote:
>
> Hi all,
>
> I installed puppet agent in one ip in linux..and am trying to connect to
> master while installing only..agent is getting installed but its giving
> host name look up failure..
>
> But i specified the correct ho
Hi,
On 03/08/2013 07:54 PM, Chad Huneycutt wrote:
> I could, as Brendan suggests, distribute a fact out to all the nodes,
> but I worry about the security of that solution since it puts the node
> in control of its configuration.
I'm currenlty dealing with similar issues for the same security rea
hi,
Specifically I would like to have something like top scope resource
defaults so as to enforce,... well,... default behaviors across our modules
for example, with the exec type: Exec { logoutput => on_failure }
However our puppet code base is rather extensive and the responsibility for
it
On Saturday, March 16, 2013 9:49:24 AM UTC-5, Ryan Coleman wrote:
>
> Hi Tom,
>
> This definitely seems like a job for parameterized classes. This language
> feature allows you to define your model while expressing some parameters
> (data) that your model will use to modify its behavior.
>
I solved this issue, by using netgroups (in LDAP) - which is loaded into
puppet, by a script which is run by external_nodes setting (it just
provides parameters - no actual nodes).
This way, a server can have multiple roles (by being in multiple
netgroups).
Unfortunately hiera can't currently
Hi
I'm using vagrant/puppet to create development environments for our team.
Part of the set-up is creating a reverse ssh tunnel between the vagrant box
and a central server. I'd like to be able to automatically allocate that
port number when 'provision' is run and use it in a couple of resourc
Stumbled around a bit until I figured out you need to do this:
gem install deep_merge
to get it to work !
“Sometimes I think the surest sign that intelligent life exists elsewhere in
the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
--
You rece
On Mon, Mar 18, 2013 at 6:24 PM, yarlagadda ramya wrote:
> Hi krish..
>
> Am able to reach the master through user..and am mentioning down the
> debugging results..please do help me in getting a solution..
>
>
> dnsdomainname: Host name lookup failure
> dnsdomainname: Host name lookup failure
> d
Hi
I have the following custom fact:
require 'facter'
Facter.add("chat_remote_port", :timeout => 5) do
setcode do
Facter::Util::Resolution.exec('/usr/bin/ssh -o StrictHostKeyChecking=no
-i /vagrant/fabfile/deployment/keys/id_rsa u...@example.com \'for port in
12321 12322 12323 12324 12325
On Monday, March 18, 2013 10:26:05 AM UTC-5, mark.a...@thebbgroup.org wrote:
>
> Hi
>
> I have the following custom fact:
>
> require 'facter'
> Facter.add("chat_remote_port", :timeout => 5) do
> setcode do
> Facter::Util::Resolution.exec('/usr/bin/ssh -o
> StrictHostKeyChecking=no -i /vag
On Mon, Mar 18, 2013 at 3:42 PM, llowder wrote:
> Are you running facter and puppet as the same user?
>
I believe so. In testing I run as user root. During 'puppet apply' (via
'vagrant provision') I believe facter is run as root. I checked this by
changing my command to /bin/whoami. That return
Switching to an Apache/Passenger/Rack solution (and dumping WEBrick) seems
to solve this problem.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+u
Hello,
If I want to do something like this:-
if $::lsbdistrelease >= 6.3 {
SOMETHING
}
Do I have to convert lsbdistrelease from a string to a number with an
inline template or some such ?
Thanks
Paul
--
You received this message because you are subscribed to the Google Groups
"Puppet User
Solution found here:
https://github.com/mitchellh/vagrant/issues/603#issuecomment-13791117
All I needed was to add '-n' to the ssh invocation and it works perfectly.
On Mon, Mar 18, 2013 at 3:45 PM, Mark Allison
wrote:
> On Mon, Mar 18, 2013 at 3:42 PM, llowder wrote:
>
>> Are you running fac
Il 18/03/2013 17:16, ollies...@googlemail.com ha scritto:
Hello,
If I want to do something like this:-
if $::lsbdistrelease >= 6.3 {
SOMETHING
}
Do I have to convert lsbdistrelease from a string to a number with an
inline template or some such ?
Hi, you can use versioncmp(), it's a builtin f
A custom fact was the way to go.
My fact was hanging because I hadn't supplied '-n' to the ssh invocation.
Apologies for the noise.
Mark
On Monday, March 18, 2013 2:19:14 PM UTC, mark.a...@thebbgroup.org wrote:
>
> Hi
>
> I'm using vagrant/puppet to create development environments for our team.
There's no way to have the defaults in the top scope if you put them in a
module. Module implies class, which implies a scope under top scope.
Site.pp would be the appropriate place, but keep in mind there is no way to
"enforce" these defaults.
There's a fairly common practice these days of set
Hey Dan,
Thanks for pointing this out! You're totally right. Not only does it
require deep_merge, but it also appears to just fail silently if it's
not there. We're looking into it now.
Cheers,
Moses
On Mon, Mar 18, 2013 at 7:33 AM, Dan White wrote:
> Stumbled around a bit until I figured out
I was starting out from the command line, and it ain't so silent there !
https://gist.github.com/linuxdan/5187422
“Sometimes I think the surest sign that intelligent life exists elsewhere in
the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)
- Ori
Dan,
I think what Moses meant was that Hiera will silently fail to load
deep_merge (the LoadError is rescued silently), which makes the later
failures more difficult to debug.
On Mon, Mar 18, 2013 at 12:09 PM, Dan White wrote:
> I was starting out from the command line, and it ain't so silent the
Hello,
I have a class called website, which requires both httpd and mysqld
classes. Without defining it within the site.pp (node section). Is it
possible to define that "website" requires these additions? Such as;
class website inherits httpd, mysqld {
...
}
--
You received this message b
Looks like the upvote/downvote buttons are missing. (/red(dit|mine)/
anyone?)
-Hunter
On Thu, Mar 14, 2013 at 5:41 PM, Eric Sorenson wrote:
> On Mar 14, 2013, at 5:12 PM, Eric Sorenson
> wrote:
>
> > Hi, we're starting the upgrade to projects.puppetlabs.com now. There
> will be a brief down
On Mon, Mar 18, 2013 at 7:48 PM, JamieC wrote:
> Is it possible to
> define that "website" requires these additions? Such as;
>
> class website inherits httpd, mysqld {
>
> ...
>
> }
Yes. Try:
class website {
...
require => Class['httpd', 'mysqld']
}
I personally prefer more fine-grained depe
The master runs as the puppet user not root so try:
# chown -R puppet:puppet /etc/puppet
- Keith
On 14 Mar 2013 15:09, "Mike Canty" wrote:
> I am running Centos 6 and was able to install Puppet 3.1.1. However, when
> trying to run puppet, as root, for the first time, I get the following
>
thanks ,that's help me, too!
On Tue, Mar 19, 2013 at 12:25 AM, Alessandro Ogier
wrote:
> Il 18/03/2013 17:16, ollies...@googlemail.com ha scritto:
>
> Hello,
>>
>> If I want to do something like this:-
>>
>> if $::lsbdistrelease >= 6.3 {
>> SOMETHING
>> }
>>
>> Do I have to convert lsbdistrelea
Better practice is to expose the functionality of those classes through
defines or parameterized classes.
For instance, use a define like apache::vhost in the puppetlabs/apache
module:
https://github.com/puppetlabs/puppetlabs-apache/blob/master/manifests/vhost.pp
That way, all you have to do i
27 matches
Mail list logo