similar to: rendering Markdown automatically

Displaying 20 results from an estimated 200 matches similar to: "rendering Markdown automatically"

2010 Jul 27
2
Catching failure with templates
So, I’m using templates for the first time and I wanted to test the case where the values used by the template don’t exist. I get an error like this: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template slapd_replication.erb: Could not find value for ''slapd_consumer_rid'' at /etc/puppet/manifests/experimental/services/ldap.pp:141
2010 Jun 02
22
augeas type and /etc/services
Has anyone attempted to use the augeas type to add a service? I got the service to add no problem, but having some difficulties to get the match to work to prevent duplicate entries from adding. Since the service-name[*] has endless number of entries I used a glob so it checks all the entries but that does not seem to work. Any ideas on how to proceed? augeas { app_tcp'': context
2010 Apr 08
3
Puppet commands giving nothing but a stack trace
I suspect this has more to do with Ruby than Puppet, but I know little about Ruby and Google has failed me, so I''m asking here. I''m finally getting some of our older systems brought into Puppet. I installed it on several this morning without incident, but there are two (more or less identical RHEL 5.3 systems) that throw horrible errors. These systems did not have Puppet or Ruby
2011 Aug 25
6
manage sudoers with augeas
Hello, I am trying to use augeas via puppet, augeas { "mailops": context => "/files/etc/sudoers", changes => [ "set spec[user = ''%mail-ops'']/user %mail-ops", "set spec[user = ''%mail-ops'']/host_group/host ALL", "set spec[user = ''%mail-ops'']/host_group/command[1] \"/bin/su
2010 Mar 18
3
Puppet Client using wrong environment.
Hi, I exposed few days ago this situation on the IRC, but unfortunately I haven''t found a way to solve it yet. I run the Puppet Master with multiple environments, and everything is working good but a couple of nodes that are causing me some troubles. These nodes are pointing to my production environment and I need to point them back to development to grab some changes I made. I
2011 Jan 26
4
"Registering" a node with a central service?
I have a couple of applications (backup, Cacti, Asset Tracking) where I want a node to have some package and config installed, and once that is done, some config to be done on another system to register the client with a central server. Is there a standard way to do this, short of having some kind of web service accessible from all the client systems? From my limited Puppet knowledge, anything I
2010 Dec 31
3
Hello
New to mailing lists and Markup as well so please bear with me. I have been looking for two things. A project management system that syncs with Notational Velocity as well as something that lets me write and format script in plain text, then have that converted to the proper formatting for a script. I was wondering would Markdown have the ability to do this or have the changes necessary for this?
2010 Sep 06
6
augeas and /etc/securetty
Hi, I need to add one line to /etc/securetty, say it needs to be ttyS1. Do not add it if ttyS1 already exists in file /etc/securetty. How to achieve this using puppet module in puppet 2.5? This file is different than the other examples using augeas, this one only has value per line, not name-val pair. Thanks, Hai -- You received this message because you are subscribed to the Google Groups
2010 Jul 27
0
Augeas working inconsistently
I’ve got this define. define sudoentry ($user, $host = "ALL", $command = "ALL", $tag = false, $runas = "ALL") { $sudo_changes = $tag ? { false => [ "set spec[user = ''$user'']/user $user", "set spec[user = ''$user'']/host_group/host $host", "set spec[user =
2010 May 03
5
New parser-based Markdown implementation for Java
Markdowners, just a short heads-up to a newly released Markdown implementation: "pegdown" (http://github.com/sirthias/pegdown) implements a Java Markdown-to-HTML processor based on a PEG parser with the grammar being based on John MacFarlanes C implementation "peg-markdown". pegdown uses "parboiled" (http://www.parboiled.org) for the actual parsing work and, as
2010 Jun 30
7
augeas and sudo woes
The following function is based on code I found here in an earlier thread. define sudoer() { augeas { "sudo${name}": context => "/files/etc/sudoers", changes => [ "set spec[last() + 1]/user ${name}", "set spec[last()]/host_group/host ALL", "set spec[last()]/host_group/command NOPASSWD: ALL", "set
2008 Apr 19
3
Feature Request External label resolution
One of the things I'm coming up against. Maintaining a non-small web site with many internal links is a pain. Consider: Suppose that at one point I have site/ Images Business Home ... Later the site gets more complex, and Images has a bunch of sub directories. site/ Images header_rotate inventory_pix misc Business Home When this happens I have to
2006 Oct 07
6
Minor regexp oversight for setext headings
Noticed the patterns for setext style headings are: ^(.+)[ \t]*\n=+[ \t]*\n+ Should be: ^(.+?)[ \t]*\n=+[ \t]*\n+
2010 Feb 11
14
vmwaretools
hi, i am trying to run /usr/bin/vmware-config-tools.pl -d, but i was end with exec timeout. I cannot find any think on google. Have anyone experience with this? It works, when I run it normally from shell. this is my exec resource. { "vmwaretools_config": subscribe => [ Package["VMwareTools"] ], refreshonly => true, path =>
2011 Sep 23
3
ldap ENC extension to use environment parent node
Hi, We currently use ldap ENC to set server role variables and extlookup to set domain or environment variables. I have a suggestion regarding ldap use as an ENC - if a node within ldap has the environment attribute set then it should inherit/mixin (if available) from a node named after it''s environment. It could be populated with only puppetVar type attributes so that any environment
2010 Oct 22
2
problem w/ puppet & augeus : xinetd.d/rsync server_args value
Hello, I would like to have the following line (among others) in my /etc/xinetd.d/rsync file : server_args = --daemon --address=<ipaddress_eth0> --log-file=/var/log/rsyncd.log To this end, i am using the camptocamp rsyncd module available from git. Everything works except this line. I thought it was, perhaps, a questions of spaces (this has been discussed on the list before),
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 20
4
toast, history, sayonara
ok, while i was in the process of writing that last post, fletcher and john weighed in themselves. that's good. i can say some things that they can't, though, so i will. fletcher told you how multimarkdown is booming, and it was an impressive list. what you might not realize is, he _undersold_ it. it is even bigger than he described, and it's gonna _double_ in size in the next
2010 Feb 22
6
Augeas type: Removing an entry from /etc/hosts
Hi all, I''m just starting to look at using Augeas with Puppet to manage some of our configuration files. I thought I would start with a simple task of removing an entry from the /etc/hosts file. I''m not finding it simple though! We have a number of hosts with entries in the /etc/hosts file like this: 127.0.1.1 hostname We would like to remove these lines. Now I know this can
2010 Oct 06
3
Using Augeas to manage /etc/network/interfaces from Puppet
Hi, Sorry for the broad distribution, I''m not sure who best can help me. I''m trying to add a new interface stanza to /etc/network/interfaces. With augtool, I can accomplish this with the following: set /files/etc/network/interfaces/iface[last()+1] bond1 set /files/etc/network/interfaces/iface[last()]/family inet set /files/etc/network/interfaces/iface[last()]/method dhcp set