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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Fri, Mar 4, 2011 at 8:50 AM, Kevin Beckford <lazyweb@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+unsubscribe@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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Mar 4, 9:18 am, Dan Bode <d...@puppetlabs.com> wrote:> > 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. >*nods.* The catalog is just a directed acyclic graph describing resources and dependencies, which then gets serialized via a common text data format. It isn''t code; it''s a document, which gets consumed by code that knows how to generate events from resources. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Possibly Parallel Threads
- Does the puppet module tool work with ruby1.9.2?
- Best practices using puppet on partially installed systems.
- Trying to setup puppetdbquery on puppet-3.0.0-rc5
- Using ruby-1.9.x with Puppet 0.25.x
- puppetdb indicated only facts were replaced, no sign of catalog