Hi,
I'm currently trying to write a simple function to generate a random
password. I have looked at the fqdn_rand.rb script to get things going
but unfortunately my ruby skills are very bad.
I found the following code snippet that does what I need:
begin
def random_password(size = 8)
chars = (
Michael,
Would you guys consider standing up a shapado instance?
http://shapado.com/(It's basically an FLOSS clone of stackoverflow,
and is great for Q&A type
stuff.) You could stand it up as ask.puppetlabs.com, and point new users
there for questions. One of the big issues of puppet-users, is sim
How about a 'serverfault' or 'stackoverflow' or the like site? One of the
issues I find is that previous answers are lost in mail lists and hard to
search for. IRC isn't much help for searching previous answers either.
-1 for separate lists.
Den
On 03/04/2012, at 14:30, Michael Stahnke wrote:
Hey, we've been having some mailing list discussion on and off inside
of Puppet Labs too. Obviously we have a large community that we are
trying to appeal to, and we keep doing our best to create the
experience for the user-base.
Breaking the users list into two lists has its pros and cons.
Pros:
I'll try creating a real single file example that shows the issue.
If I put a "Require" on the exec itself, it works. It seems intuitive to me
that if I setup Class -> File, then the File should get executed before
anything in that Class. But that isn't the case.
On Monday, April 2, 2012 2:51:
The obfuscation it seems you have done here doesn't make this clear (at
least to me).
It would appear your "only if" is executing, as-directed, to see if it may
execute the exec within the class. (Assuming you have replaced "apprunner"
with "my_user" in places, there)
It might help to de-obfuscat
Hi Marco,
On Mon, Apr 2, 2012 at 1:17 PM, Marco Parra D. wrote:
> HI Josh,
>
> The program was uninstalled using Add /remove Feature, I found the file
> C:\ProgramData\PuppetLabs\puppet\var\db\package\msi\Universal Forwarder.yml
> on the windows agent side, when I removed the puppet agent instal
I have a basic setup where I have an Exec that is in a class. The Exec has
an onlyif that checks for the existence of a file. Despite me indicating
that the Class requires that File, the onlyif check is executed before the
File.
Basic example
https://gist.github.com/b1e1741d686881f115c4
It w
Hi,
What happens if you move certname to [main] instead?
Cheers,
Den
On 03/04/2012, at 1:27, Jcduss wrote:
> Dear All,
>
> I've got troubles with my puppet master which doesn't trust its own
> agent working on the same machine. This master has already about 50
> clients running on differents
HI Josh,
The program was uninstalled using Add /remove Feature, I found the file
C:\ProgramData\PuppetLabs\puppet\var\db\package\msi\Universal
Forwarder.yml on the windows agent side, when I removed the puppet agent
install again the package perfect...
/
/I'm thinking in the case that a user
Hi Marco,
On Fri, Mar 30, 2012 at 12:07 PM, mparrad wrote:
> Hi guys, I'm trying to create my module to install splunk forwarder on
> windows boxes, I have this init.pp file on my module manifests:
>
> class splunk-mp()
> {
>
> file {'D:\Install':
> ensure => directory,
> mode =>
On 02/04/12 11:07, bruce bushby wrote:
> Hi
>
> I've been writing a little module to handle some grub settings on RHEL
> 6 and appear the have run into a silly little problem that I just
> can't fix.
>
> I've trying to append the string "crashkernel=128M@16M" to the kernel
> line in my grub.conf.
On 30.3.2012 16:02, Pablo Fernandez wrote:
> So, it seems like hiera('netmask') is actually looking into the node's
> facts! Is this the expected behavior?
>
> This is my hiera.yaml:
> :backends:
> - puppet
>
> :hierarchy:
> - %{hostname}
> - %{environment}
> - group_%{group0}
> - grou
On Mon, Apr 2, 2012 at 16:10, jcbollinger wrote:
>
>
> On Apr 2, 5:07 am, bruce bushby wrote:
> > Hi
> >
> > I've been writing a little module to handle some grub settings on RHEL
> > 6 and appear the have run into a silly little problem that I just
> > can't fix.
> >
> > I've trying to append t
Dear all,
I installed and configured a Mcollective server and a MCollective client to
manage Puppet agents asynchronously.
I checked through mc-ping command that the two components communicate with
each other: it works.
After installing the Puppet agent plugin on the MCollective agent and
config
Dear All,
I've got troubles with my puppet master which doesn't trust its own
agent working on the same machine. This master has already about 50
clients running on differents servers and differents version of puppet
client and working like a charm on them.
Master is installed with passenger on a
On Apr 2, 5:07 am, bruce bushby wrote:
> Hi
>
> I've been writing a little module to handle some grub settings on RHEL
> 6 and appear the have run into a silly little problem that I just
> can't fix.
>
> I've trying to append the string "crashkernel=128M@16M" to the kernel
> line in my grub.conf
On Mar 30, 9:02 am, Pablo Fernandez wrote:
> I have trying to dig more into this, and I found out the problem is not
> the scope of the variable, but hiera!
>
> So, it seems like hiera('netmask') is actually looking into the node's
> facts! Is this the expected behavior?
>
> This is my hiera.yam
On Mon, Apr 2, 2012 at 8:56 AM, Chad Huneycutt wrote:
> * Opening the floodgates to the easy questions makes it very
> obvious what needs to go in the FAQ :-)
As a slight aside, I think that a list of frequently asked questions
is a statement that the documentation is incomplete. If those
quest
I love hiera, but this is my biggest problem with it. There is no
scoping of the hiera name space. I am personally using the naming
convention "__, but it would be great if
hiera took care of that for me magically. A little birdy told me that
they are working on it, so here's hoping...
- Chad
On Mon, Apr 2, 2012 at 5:12 AM, Craig Dunn wrote:
>
>> Would it be a good idea to have a puppet beginners list, where people can
>> post dumb questions, and maybe have some patient people posting links
>
>
> [snip]
>
> Without wanting to pigeon hole or stereotype anyone, my experience from the
> I
On Mar 30, 9:23 am, Pablo Fernandez wrote:
> Well... that's why you have scopes, right? So that you don't need to
> know all variables in your tree, just the local ($var) and globals
> ($::var). At least it's how I understood it.
You understand it the same way I do. Besides, Puppet will norma
Hi all,
I am currently writing tests for puppet modules with Rspec but have no
success with chained expressions.
Example =
class example::database ($username,$password) {
require mysql::server
mysql_database { "example":
ensure => 'present'
} -> mysql_user { "${username}@somewhere":
ens
Hi,
There is probably something stupid I am missing, but I just can't see
it. I do:
$iptables_open_ports_public = hiera_array ('iptables_open_ports_public', [])
And I have not defined that in the hiera tree, so the default (an empty
array) should be returned. But I get, instead:
"Error 400
In order to contribute to the Forge in a sane and quick way I think it's
needed a way to upload new releases in a scriptable way.
There's a (long lasting) ticket open for
that: http://projects.puppetlabs.com/issues/3790 but in the meantime I
wonder if someone has managed to find a way to obtain
Hi
I've been writing a little module to handle some grub settings on RHEL
6 and appear the have run into a silly little problem that I just
can't fix.
I've trying to append the string "crashkernel=128M@16M" to the kernel
line in my grub.conf. The following module works 100% if I leave out
the "@"
Would it be a good idea to have a puppet beginners list, where people can post
dumb questions, and maybe have some patient people posting links
[snip]
Without wanting to pigeon hole or stereotype anyone, my experience from
the IRC channel in particular is that "dumb questions" that get aske
On Sat, Mar 31, 2012 at 00:06, Jim Garrison wrote:
> Trying to set up a simple master/agent configuration on two VMware VMs. I
> startup the master and then try to start the agent, in waitforcert mode to
> submit its cert request. After receving the request on the master and
> signing it, I get
I think you are wrong, check the source code:
# Check whether we have integer value if so then make it so ...
if start.match(/^\d+$/)
start = start.to_i
stop = stop.to_i
else
start = start.to_s
stop = stop.to_s
end
Besides, the change made by
29 matches
Mail list logo