Created
          June 20, 2012 10:01 
        
      - 
      
- 
        Save robinbowes/2959170 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | I want to define this in YAML: | |
| ListenIP => '1.2.3.4', | |
| ServerAlias => ['example.com', 'foo.example.com'], | |
| config => 'DocumentRoot /var/www/sites/example | |
| <Directory /var/www/sites/example/> | |
| AllowOverride None | |
| Options +Indexes | |
| </Directory>' | |
| I've got this far: | |
| resources: | |
| apache::website::instance: | |
| 'www.example.com': | |
| ListenIP: '1.2.3.4' | |
| ServerAlias: | |
| - 'example.com' | |
| - 'foo.example.com' | |
| config: |- | |
| DocumentRoot /var/www/sites/example | |
| <Directory /var/www/sites/example/> | |
| AllowOverride None | |
| Options +Indexes | |
| </Directory>" | |
| Is that how arrays are defined? | |
| How is multi-line text defined? | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment