The following class seems to do exactly what I needed it to do.  It sets the 
default context to saved and creates a savedefault parameter for the Windows 
entry that exists.  This method also does not require a onlyif if statement 
which is much better than the ins after option that was proposed by Luke 
although his detailed explaination is still very much welcomed.  I just did it 
a different way. ;)


class windows_default_boot {
  augeas{ "set_windows_to_default" :
    context => "/files/etc/grub.conf",
    changes => [
    "set /files/etc/grub.conf/default saved",
    "set /files/etc/grub.conf/title[.='Windows']/savedefault 0",
    "clear /files/etc/grub.conf/title[.='Windows']/savedefault",    ],
  }
}


Thanks again!

-- 
James A. Peltier
IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax     : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.sfu.ca/itservices
          http://blogs.sfu.ca/people/jpeltier
I will do the best I can with the talent I have

-- 
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.

Reply via email to