Displaying 20 results from an estimated 5000 matches similar to: "parameters in a string for ENC"
2012 Jan 09
0
node parameters
I''ve been using foreman as an ENC and assigning node parameters for some time and it was clearly working but it apparently broke somewhere along the way and I can''t tell why.
Here''s part of the modules/sudoers/manifests/sudoers_hostgroup.pp
class sudoers::hostgroup {
case hostgroup {
default: {
file{"/etc/sudoers.d/admins_web":
ensure
2011 Jul 14
5
LDAP ENC
Seems straight forward enough but I keep getting errors. On a client...
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed when searching for node ubuntu5.ttinet: LDAP Search failed
on the puppet master...
puppet.conf [master]
# ENC (external node classificiations)
node_terminus = ldap
ldapnodes = true
ldapclassattrs = puppetclass
# LDAP
ldapserver =
2011 Oct 11
1
recursive finds
I am trying to supplement and ultimately provide a patch for ''foreman'' which is an adjunct to puppet.
Essentially, there is a Hosts class which belongs_to Hostgroup and Hostgroup class has a column called ''ancestry'' which is actually a Hostgroup (probably what is referred to as STI but I am not sure) and thus within Foreman, nesting Hostgroups is not uncommon.
2011 Jul 12
3
puppetrun/puppet kick
Can''t seem to make it work
puppet 2.6.8 (client/server)
# puppet kick -f ubuntu4.ttinet
Triggering ubuntu4.ttinet
Host ubuntu4.ttinet failed: Error 400 on SERVER: ''save '' is not an allowed value for method directive
ubuntu4.ttinet finished with exit code 2
Failed: ubuntu4.ttinet
root@ubuntu4:~# cat /etc/puppet/auth.conf
path /run
method save
allow *
2012 Aug 15
5
stupid bash question
the relevant snippet is...
NAME="*.mov"
cd $IN
if test -n "$(find . -maxdepth 1 -name $NAME -print -quit)"
and if there is one file in this directory - ie test.mov, this works fine
but if there are two (or more) files in this directory - test.mov, test2.mov
then I get an error...
find: paths must precede expression
So my code is evidently wrong. I just want a test for 1 or
2012 Jan 05
2
suppressing openssh server identification
With all of the discussions regarding getting p3wned, I am feeling paranoid and can't seem to figure out how to suppress this...
telnet $SOME_CENTOS_5_SERVER 22
Trying $SOME_IP_ADDRESS...
Connected to $SOME_CENTOS_5_SERVER.
Escape character is '^]'.
SSH-2.0-OpenSSH_4.3
'Banner no' doesn't do it. Is it possible to suppress the version?
--
Craig White
2012 Dec 06
2
awk awk
a little out of my comfort zone and have practically gotten what I want but awk seems determined to send a message via std error which is problematic and annoying. Basically trying to get a list of virtual host names from nginx config files like this:
$ awk -F" " '/./ { if ( match ( "^server_name$", $2 ) ) print $1 }' /opt/nginx/sites/*.conf \
| grep -v server_name |
2011 May 11
1
[OT] Co-location center in Holland
Anyone have recommendations for a highly reliable datacenter located in Holland?
Thanks
--
Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ craig.white at ttiltd.com
1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com
Need help communicating between generations at work to achieve your desired success? Let us help!
2011 May 12
2
[OT] Co-location center in Singapore or Hong Kong
Apparently my company will potentially need to put in some servers for Asia and is hoping to find a highly reliable data center in either Singapore or Hong Kong if anyone has recommendations.
Thanks
--
Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ craig.white at ttiltd.com
1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com
Need help communicating between generations at work to
2013 Feb 20
0
Help needed in setting up a simple ENC
puppet maser conf:
[main]
logdir = /var/log/puppet
rundir = /var/run/puppet
ssldir = $vardir/ssl
[master]
classfile = $vardir/classes.txt
localconfig = $vardir/localconfig
user = root
group = root
fileserverconfig = /etc/puppet/fileserver.conf
reportdir = /home/logs/puppet/reports
masterhttplog = /home/logs/puppet/masterhttp.log
masterlog =
2013 Dec 02
1
Class parameter flexibility with ENC, hiera or both
Dear puppetteers,
I am having a philosophical question about parametrized classes.
When building modules, one wants to be as flexible as possible, to try
to target as many puppet flavors as possible. This is our target:
- Foreman users, using foreman as an ENC with smart variables (or
potentially any other ENC, but I would say this is the most widespread one).
- Pure Puppet''s site.pp
2011 Nov 30
2
bundle exec fail
WTF... how to solve? (REE ruby/Ubuntu 10.04)
$ dpkg -l |grep ruby
ii ruby-enterprise - 1.8.7-2011.03 - Ruby Enterprise Edition.
$ bundle exec
/usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec'': wrong number of arguments (ArgumentError)
from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec''
from
2011 Dec 13
1
continuous jquery partial update
Rails 3.1.x - jquery
drag_drop.js
$(function() {
$( "[id^=moveable]" ).draggable();
$( "#droppable2" ).droppable({
drop: function( event, ui ) {
$( this )
.addClass( "ui-state-highlight" )
$.post( "groups/add_member/", { "add": ui.draggable.text() }, function(data) {
2011 Jun 14
5
puppet dashboard
I am using Ubuntu 10.04 and ruby-enterprise (not ubuntu ruby) and installed puppet via gem.
How can I install puppet-dashboard if I don''t see a gem available and if I use the ubuntu package, i get the whole slop of ruby packages sucked in (which i am trying to avoid)?
# dpkg -i puppet-dashboard_1.1.0-1_all.deb
Selecting previously deselected package puppet-dashboard.
(Reading database
2013 Aug 27
7
The Foreman: Query facts from ENC PuppetDB?
I''ve been using PuppetDB as an ENC for a while, but I haven''t really
utilized it for stored configs or anything. I was mostly interested in
replacing Dashboard''s reporting capabilities, but PuppetDB doesn''t yet do
anything (that I can see) with reports. So I''m currently looking into
setting up a separate Foreman server.
I saw the script mentioned
2015 May 24
2
specify port on check_memcached.pl
Hey guys,
I'm trying use check_memcached.pl to monitor a couple of memcached services
running on two ports.
I have my command definition setup like this:
# 'check_memcached' command definition
define command {
command_name check_memcached
command_line $USER1$/check_memcached.pl -H $HOSTADDRESS$ -p $ARG1$
}
And I have my service definitions setup like this:
# Define a
2013 Jun 19
0
How can an ENC get the --environment value specified on a puppet agent commandline?
Is there any way to pass puppet run details to an ENC. Most importantly I
want to know the Environment value the puppet Agent is asking for. More
generally is it possible to query the puppet configuration values?
One thought I had is to turn the puppet config into FACTS. Then the ENC can
get the latest values from either Inventory Services or Foreman. But off
hand I don''t know how
2015 Mar 18
0
multiple memcached buckets in CentOS 7
>
>
> Now, under CentOS 7, I see we have two files controlling memcached under
> the new sysctl system. At least, using sysctl is new to me!
>
> I see we have this file:
>
> [root at web1:~] #cat /usr/lib/systemd/system/memcached.service
> [Unit]
> Description=Memcached
> Before=httpd.service
> After=network.target
>
> [Service]
> Type=simple
>
2008 Dec 12
1
CentOS 5.2 + iptables + memcached Problem
Hi,
I'm experiencing the most perplexing problem with iptables on CentOS
5.2. I'm hoping someone can point out what I must be missing here.
I have memcached set up on several nodes on an internal network. I
have the following rules set up to allow traffic between memcached
nodes:
IPTABLES -A INPUT -i bond0 -p tcp -m tcp -s 192.168.1.0/24 -d
192.168.1.0/24 --dport 11211 -j ACCEPT
2015 Mar 18
1
multiple memcached buckets in CentOS 7
Hi Alberto,
With systemd it will be as easy as creating additional unit files ( one for
> each memcached instance) with its corresponding config file. That should
> allow to stop / start / restart each memcache instance individually while
> also being systemd compliant.
Thanks for the info and for the examples. It really does make sense the way
you explain it. Thanks for letting me