Re: [Puppet Users] Puppet dsl
On 03/04/2011 05:50 PM, Kevin Beckford wrote: Is the puppet dsl a complete Turing capable language? No. There is no while loop. As I understand it, the chain is dsl - compiled thing - actions. What language is the compiled thing in? Ruby? Do you have puppet installed? You will find your catalog (the compiled thing) in /var/lib/puppet. It is saved as a YAML serialized ruby object. Actions are performed by the puppet agent using two inputs: 1. the catalog (how should things be) 2. the system state (what are things like now) The difference determines the actions. HTH, Felix -- 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 unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Puppet dsl
Is the puppet dsl a complete Turing capable language? As I understand it, the chain is dsl - compiled thing - actions. What language is the compiled thing in? Ruby? -- 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 unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Puppet dsl
On Fri, Mar 4, 2011 at 8:50 AM, Kevin Beckford lazy...@gmail.com wrote: Is the puppet dsl a complete Turing capable language? Puppet is not a general purpose programming language, it is a tool that manages infrastructure, you could probably mathematically prove that it is Turing complete, but its end result is a single data format. Perhaps it would be better to ask can Puppet do X As I understand it, the chain is dsl - compiled thing - actions. Architecturally, it is better to think of Puppet as a system that can transform between various data formats: Code that creates data: Data: Facts Terminus (Facter) Facts: Node Terminus Nodes Catalog Terminus (compiler) Catalog Resource Abstraction Layer Events What language is the compiled thing in? Ruby? The compiled artifact is not code, it is data that describes the desired state of your system, in the above chart, the artifact you are asking about is the catalog. -- 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 unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- 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 unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Puppet DSL editor
Hi. Is there any editor that can understand puppet DSL with syntax high- lighting? Thanks. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Puppet DSL editor
Is there any editor that can understand puppet DSL with syntax high- lighting? vim, emacs . At least those are the one for which there are syntax files: http://github.com/reductivelabs/puppet/tree/master/ext/ I remember that there was also some support for textmate. cheers pete -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.