Displaying 3 results from an estimated 3 matches for "sytanx".
2007 Dec 05
3
sytanx question
in a template file login.rhtml:
<%= form.password_field :password, :size => 40 %>
and i get this error:
undefined method `password'' for #<User:0x47e5bcc
what is this supposed to mean?
and somebody please explain this syntax: Method :password
should not it be: Method :password=value?
--~--~---------~--~----~------------~-------~--~----~
You received this message because
2009 Feb 04
1
Issue with template.pp
...lt;=== line 7
node default inherits basenode {}
I receive an error.
err: Could not parse for environment production: Syntax error at ''}''
at /etc/puppet/manifests/templates.pp:7
when i run : puppet --parseonly --ignoreimport /etc/puppet/manifests/
templates.pp
I verified the sytanx. But no luck. Still i have prbs. I require help
with this.
puppet version - 0.24.4-8
OS - ubuntu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to p...
2003 Oct 23
1
Extended logic syntax
....................
[internal]
exten => *80,2,SetGlobalVar(OFFICEHOURS=100)
exten => *80,2,SetGlobalVar(OFFICEHOURS=200)
....................................
[incoming]
exten => s,1,GotoIf($[${OFFICEHOURS} = 100}]?incoming-officehours:incoming-officehours-off
1. Am I using the right sytanx when I set the global variable OFFICEHOURS
2. Am I using the right syntax when I use the GotoIf, PRoblem is that the GotoIf conditions seems to evaluate to 0 no matter what OFFICEHOURS is set to. The CLI output is as follows:
Executing GotoIf("blabla", "0?incoming-officehours:incom...