You are missing a closing }, Marked bellow in red.
On Mon, Oct 10, 2016 at 7:45 AM, Jason Beard <[email protected]> wrote: > I'm trying to add azure settings to my scalr-server.rb and keep getting > syntax error. I currently have ldap settings in the config that work but > azure settings break it. I'm sure it's something simple that I'm missing. I > comment out the ldap settings and it works..I've added the azure settings > just like the wiki and i pulled the ldap from git but they don't play nice > with each other. Obviously my ruby experience is currently limited. I've > moved the azure settings around in the config but still get a syntax error. > I'm using the community version 5.11.22 > > SyntaxError > ----------- > /etc/scalr-server/scalr-server.rb:32: syntax error, unexpected tSYMBEG, > expecting '}' > :auth_mode => 'ldap', > ^ > > scalr-server.rb > > app[:configuration] = { > :scalr => { > :azure => { > :app_client_id => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', > :app_secret_key => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx' > }, > > > # Tells Scalr to use LDAP for authentication > :auth_mode => 'ldap', > :connections => { > > :ldap => { > # Tells Scalr what LDAP server to connect to > :debug => 'true', > :bind_type => 'regular', > :host => myserve.coml', > :port => '389', > :user => 'CN=useraccount,OU=accounts,OU=user,DC=something,DC=ad', > :pass => 'jjjj', > > :base_dn => 'OU=user,DC=something,DC=ad', > :base_dn_groups => 'OU=user,OU,DC=something,DC=ad', > > # Tells Scalr what attributes to look at > :username_attribute => 'sAMAccountName', > :groupname_attribute => 'CN', > > # Tells Scalr how group membership is represented > :group_member_attribute_type => 'member', > > # Tells Scalr to use filters to speed up queries > :filter => { > :users => '(&(objectClass=user))', > :groups => '(&(objectClass=top))', > }, > > # Uncomment for debug output if you can't login > # :debug => 1, > } > } > } > } > } > > -- > You received this message because you are subscribed to the Google Groups > "scalr-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Regards, Daniele Testa | Sr. Solutions Architect @ Scalr | [email protected] | www.scalr.com | blog.scalr.com -- You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
