Skip to content

Commit

Permalink
Première version des slides Chef
Browse files Browse the repository at this point in the history
  • Loading branch information
jubianchi committed Jan 23, 2015
1 parent 7b101ac commit 1a5716e
Show file tree
Hide file tree
Showing 6 changed files with 128 additions and 23 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
.sass-cache
42 changes: 26 additions & 16 deletions css/theme/default.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion css/theme/source/default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,16 @@ $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b

// Theme template ------------------------------
@import "../template/theme";
// ---------------------------------------------
// ---------------------------------------------

.reveal table {
margin: auto;
border-collapse: collapse;
border-spacing: 0;

th, td {
text-align: left;
padding: 0.2em 0.5em 0.2em 0.5em;
border-bottom: 1px solid;
}
}
Binary file added images/chef/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
89 changes: 85 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,96 @@ <h2>Ansible slide 2</h2>
</section>

<section>
<section>
<h2>Chef</h2>
<section data-background="images/chef/logo.png" data-background-position="25% 32%" data-background-size="40%" data-background-transition="zoom">
<h2>OpsCode Chef</h2>
<p>
</p>
</section>
<section>
<h2>Chef slide 2</h2>
<p></p>
<h2>Chef, c'est quoi donc ?</h2>
<blockquote cite="https://docs.chef.io/">
“Chef is a systems and cloud <strong>infrastructure automation framework</strong> that makes it easy to deploy servers and applications to any physical, virtual, or cloud location, no matter the size of the infrastructure.”
</blockquote>
</section>
<section>
<h2>Un peu de vocabulaire</h2>
<table>
<tbody>
<tr>
<td>Cookbook</td>
<td></td>
</tr>
<tr></tr>
<tr>
<td>Recipes</td>
<td></td>
</tr>
<tr></tr>
<tr>
<td>Resources</td>
<td></td>
</tr>
<tr></tr>
</tbody>
</table>
</section>
<section>
<h2>Cookbook</h2>
<p>Un cookbook contient une ou plusieurs recipes</p>

<pre><code data-trim>.
├── attributes/
│   └── default.rb
├── files/
│   └── default/
├── libraries/
├── metadata.rb
├── providers/
├── recipes/
│   └── default.rb
├── resources/
└── templates/
└── default/</code></pre>
</section>
<section>
<h2>Recipe</h2>
<p>Une recipe contient une ou plusieurs resources</p>

<pre class="ruby"><code data-trim>yum_repository 'hhvm' do
baseurl 'http://www.hop5.in/yum/el6/'
gpgkey 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-HOP5'
action :create

notifies :run, 'execute[yum-clean-all]', :immediately
end

execute 'yum-clean-all' do
command 'yum clean all'
action :nothing
end

package 'hhvm'</code></pre>

<blockquote cite="https://docs.chef.io/">
“Chef, pour installer HHVM, il faut d'abord ajouter un dépôt YUM et ensuite installer le paquet qui s'appelle <code>hhvm</code>.”
</blockquote>
</section>
<section>
<h2>Resource</h2>
<p>C'est la description de l'état final attendu</p>

<pre class="ruby"><code data-trim>git 'atoum' do
repository 'https://github.com/atoum/atoum.git'
reference 'master'
destination '/opt/atoum'
action :sync
end</code></pre>
<blockquote cite="https://docs.chef.io/">
“Chef, je veux que le dossier <code>/opt/atoum</code> soit synchronisé avec la branche <code>master</code> du dépôt <code>git</code> d'atoum.
<br/>
Merci !”
</blockquote>
</section>
</section>

<section>
Expand Down
4 changes: 2 additions & 2 deletions js/reveal.min.js

Large diffs are not rendered by default.

0 comments on commit 1a5716e

Please sign in to comment.