search for: alfke

Displaying 20 results from an estimated 24 matches for "alfke".

Did you mean: alfie
2006 Jan 16
2
acts_as_tree with Modified Preorder Traversal?
...of a node -- to a single query. I used this in the original PHP implementation of my app. I''m sure it can be done easily in Rails, but I''m not comfortable yet doing direct SQL munging on ActiveRecord, so I''d appreciate any tips or pointers to existing code. --Jens Alfke
2007 Nov 13
2
new to puppet - can puppet push its content to remote servers?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I was made aware of puppet a few weeks ago and I really like the way things are working. What I liked at cfengine was the capability to push content from the central server to any node. There was no need to open a port from DMZ or any other remote system to the central server. Is there a similar way within puppet? How is this solved by other
2012 Nov 13
10
Puppet client won't autostart
I''m getting this problem on all the puppet client''s I''ve been setting up and it''s got me both scratching my head (because I''m not seeing anything obvious in any system logs) and pausing in my rollout until I get it solved: # puppet resource service puppet ensure=running enable=true Error: Could not start Service[puppet]: Execution of
2006 Jan 17
4
textarea problem with accentued chars
Hello, I have a problem with accentued characters return from a textarea I have 3 simple files to show example ( below ). index.rhml : If I put "?nial" inside the textarea, then submit to :action => post post.rhml : wrote ?nial 195 "\303\251nial" // params[:comment][:message] return => ?nial params[:comment][:message][1] return => 195 ! ( 195 is not
2013 Mar 26
5
Running ENC alongside site.pp (node defn)
Hello, Is it possible to configure an ENC to provide class definition to a number of nodes at the same time where a few other nodes are controlled in the site.pp by node ''FQDN'' {blah} for the same puppetmaster ? I am wondering once parameters are set for the master to look for an ENC based definitions, will it conflict with the site.pp node definitions ? For example these
2011 May 10
14
Puppet Master System Requirements
I''ve been messing around with Puppet on a VM on my personal desktop. It looks descent. I was wondering what kind of load this thing would have managing about 400 nodes. Does this thing require a beefy server? -- 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
2013 Nov 20
4
puppet testing
Hi There, I am kind of lost, understood something wrong. I have written a module. Now how can I test this module? Do I need to copy it to agent or server? Is it possible to test it as a standalone module where I have a machine with puppet agent or server installed? It is a simple module I dont want complicate things with cucumber or some rspec etc. How can I test it with puppet apply
2006 Jan 16
2
LoginEngine vs. LoginGenerator?
I just saw a mention here of LoginEngine, which I hadn''t heard of before. Last week when I was digging for user-account sample code for my web-app, I instead found the LoginGenerator and started using that: http://wiki.rubyonrails.com/rails/pages/LoginGenerator Is one of these preferred over the other? From skimming the API docs, it does seem that LoginEngine has more features,
2011 Nov 25
3
Is package gem and provider gem usage in one puppet run possible?
Hi, we want to install the ruby-gem package on a Debian system using puppet. package { ''ruby1.9.1'': ensure => present } In another manifest we want to use the gem provider to install a ruby gem. package { ''bundler'': ensure => present, provider => gem } On the first run the puppet agent run checks for a functional gem binary on the system. It will
2006 Jan 17
2
Open new window
First, I''m *very* new in rails, i''m loving it and didn''t encounter any problems in the simple tasks i''m doing yet. What I''d like to do is to open a new window containing the info of a Model (something like the show scaffold method) with a simple "close" link to close the window. Can someone please give me some directions? thanks in advance.
2005 Dec 30
2
Locomotive 1.0.0 for Mac OS 10.3+
Hi All, I''m very happy to announce the release of Locomotive 1.0.0. Locomotive is a one-click development solution for Rails on Mac OS X. See more details at http://locomotive.sourceforge.net Get it at: http://prdownloads.sourceforge.net/locomotive/Locomotive_1.0.0.dmg?download What''s New? =========== * Server bundle updated to lighttpd 1.4.8 * Server bundle updated to
2011 May 17
2
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B
I ran in this problem an digged the net for a while to find a solution. I have a fresh puppet install, and most nodes run fine but some exhibit the following error: err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping
2013 Oct 13
24
exporting custom facts to puppet agents
Dear all, I have a custom fact, that reads a file and then generate the values dynamically based on the file content. It''s something like this: inFile = "/home/admin/OSs.txt" > gos = {} > > if File.exist?(inFile) > open(inFile, ''r'').each do |line| > next if line =~ /^\s*(#|$)/ > parts =
2006 Jan 16
0
[newbie] Redundant SELECTs?
...n#parent always allocates a new Section object (and fetches its contents from the db), even if a Section with that id has already been allocated during this query. Is this true? If so, is there a way to make Rails cache ActiveRecord objects by id (during a single request, of course)? --Jens Alfke PS: I''m using Rails 1.0 with sqlite3. Processing StoryController#index (for 69.12.133.193 at 2006-01-15 22:42:06) [GET] Parameters: {"action"=>"index", "controller"=>"story"} Section Load (0.043420) SELECT * FROM sections WHERE (par...
2011 Aug 09
1
HP-UX user resource and shared homedir
Hi, on HP-UX we want some users to have the same homedir. Homedir is managed by puppet as file resource. We now want to move the users to another primary group. useradd.sam complains: err: /User[XXX]/gid: change from 3 to 0 failed: Could not set gid on user[XXX]: Execution of ''/usr/sam/lbin/usermod.sam -F -g 0 XXX'' returned 45: Cannot modify user ''XXX'':
2006 Jan 16
8
[newbie] This Month / Next Month / The One After That
What I want to do is simple. I''d like code that prints out the name of this month (January) the next month (February) and the one after that (March) I''ve been able to print this month: <% t = Time.now %> <%= t.strftime(" This Month is: %B") %> But I can''t figure out how to get the next months to print out! -- Posted via
2012 May 22
3
Installing up to date puppet on Ubuntu
Hi, Ubuntu Lucid has a very outdated puppet, 0.25.4 according to: http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-debian-and-ubuntu I did this to "enable the repository": wget http://apt.puppetlabs.com/puppetlabs-release_1.0-3_all.deb sudo dpkg -i puppetlabs-release_1.0-3_all.deb but this still does not result in installing an up to date puppet apt-get
2013 Aug 05
3
serving .exe file via http (provider => windows)
hi everyone, i''m trying to roll out an .exe file for the puppet package provider "windows". my manifest looks like this: $package_source = "http://puppet.local.domain/base_check_mk/windows/check-mk-agent-1.2.3i1.exe" $package_name = "Check_MK Agent 1.2.3i1" package { "$package_name": ensure => installed, provider =>
2013 Jun 20
6
File directive
Hi Everyone, Is it possible to use File directive only if some software is installed, otherwise do nothing? For example: file { "/tmp/puppet-nginx-init.sh": ensure => "present", owner => "root", group => "root", mode
2012 Jun 18
8
Conditional with variable from facter
Hi. I have the following facts available: # facter | grep oper operatingsystem => CentOS operatingsystemrelease => 6.2 Now, if I wish to use conditionals on these facts, I have to do it like this: case $operatingsystem {} case $::operatingsystemrelease {} I''m puzzled as to why can''t I just use $operatingsystemrelease, and what do these two semicolons mean? Thank